> > I want to sync glutSwapBuffers with vblank. I have developed an > application with double buffering that uses glutSwapBuffer to refresh > the screen. The application is getting 132 FPS and I notice some tearing > on the screen. I want to sync swapBuffer with vblank in order to get 75 > FPS and avoid tearing. What should I do? > > I'm using xorg 7.0 + mesa 6.5 + latest i915 driver from DRI.
I'm not sure if vblank support is in Mesa 6.5.. it is in CVS alright.. you need to sest the env variable vblank_mode=3 to force vblank Dave. -- David Airlie, Software Engineer http://www.skynet.ie/~airlied / airlied at skynet.ie Linux kernel - DRI, VAX / pam_smb / ILUG Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Mesa3d-dev mailing list Mesa3d-dev@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mesa3d-dev