Hi Paul, > Attached is my application code which draws a texture map in a GLw Drawing > Area widget. It works with SGI. > Trying to port to Linux. > > App seems to work fine with Mesa 3.0 when built with linux-386-pthread. > > On trying to accelerate with VoodooII, building linux-*-glide-* the texture > map fails to display unless the widget receives an expose event. When it > receives an expose event, it displays briefly and then disappears. > [...] I have done some test with your application but I have some problem. I start using the under construction Mesa-3.1 with the X11 driver but it doesn't work with your application (it doesn't draw anything). So I switch back to the Mesa-3.0 with the X11 driver but your application has still some problem. All the buttons are drawn in black and in the top-left of the window. A possible explanation of this problem could be the version of my Lesstif installation (v0.85.2). Which version are you using ? The only other element in the window is a large subwindow in the middle-right of the main window with numbers on the edges and few colored lines. What is the correct output of your application ? Even if your application doesn't run for me, I have some possible explanation of your problem: - Your are creating two OpenGL contexts. This doesn't work with the Glide driver in most of the cases. There is only one hardware resource/context and the driver doesn't save the card memory (reading back the color buffer, the depth buffer from a Voodoo2 card is something that requires 0.5-1sec. ! it something too slow to be done when switching between OpenGL contexts). So you can use multiple OpenGL contexts with the Glide driver if and only if you are using texture maps in only one context and you are switching between contexts after a swapbuffer/glClear; - I didn't check but I guess that the size of your contexts are too large (your are using a 1280x1024 main window). A Voodoo2 is able to handle only a 800x600 (when using the depth buffer). Cheers, David Bucciarelli ([EMAIL PROTECTED]) _______________________________________________ Mesa-dev maillist - [EMAIL PROTECTED] http://lists.mesa3d.org/mailman/listinfo/mesa-dev
