On Sat, 2009-04-18 at 13:46 +0800, Michael Clark wrote: > > I have made a port of gears that uses the OpenGL ES 1.1 Common API > subset (using glDrawElements instead of display lists and optionally > using vertex buffer objects). It should be visually equivalent to > gears.c, although the flat faces are rendered with GL_SMOOTH to avoid > additional draw calls. > > While testing it, I noticed a severe screen corruption issue when using > vertex buffer objects with the intel driver in ubuntu (both ubuntu 9.04 > driver and ubuntu xorg-edgers 2.6.99.1+git20090416). I have verified the > code is working with the nvidia-180 proprietary driver on another system > so I believe it is an intel driver issue. I am wondering if the same > issue exists upstream... > > The attached gearsvbo.c source code can be compiled with: > > gcc gearsvbo.c -o gearsvbo -lGL -lglut > > It can be run with or without vertex buffer objects (add -novbo command > line option to disable). > > With the Intel driver I see a 40% speedup with glDrawElements alone. > With vertex buffer objects enabled I see almost 200% speedup although > the front-buffer doesn't appear to being cleared or swapped correctly > (see attached png).
Fixed in Git. -- Earthling Michel Dänzer | http://www.vmware.com Libre software enthusiast | Debian, X and DRI developer ------------------------------------------------------------------------------ Stay on top of everything new and different, both inside and around Java (TM) technology - register by April 22, and save $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco. 300 plus technical and hands-on sessions. Register today. Use priority code J9JMT32. http://p.sf.net/sfu/p _______________________________________________ Mesa3d-dev mailing list Mesa3d-dev@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mesa3d-dev