Re: [Mesa3d-dev] Unable to sync to [i915]

2006-07-05 Thread Agustin Rubio Mingorance
I have found a new problem when using vblank_mode. I have 2 applications: One of them draws some GL_QUADS and have a usleep in order to get around 27FPS with vblank_mode=0, and the other draws GL_QUADS all the time, getting around 27FPS with vblank_mode=0. If I set vblank_mode=3, the fist one ge

Re: [Mesa3d-dev] Unable to sync to [i915]

2006-07-04 Thread Dave Airlie
> > 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

[Mesa3d-dev] Unable to sync to [i915]

2006-07-04 Thread Agustin Rubio Mingorance
Hello 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 a

Re: [Mesa3d-dev] Unable to sync to [i915]

2006-07-04 Thread Agustin Rubio Mingorance
It works perfectly now. Thanks. Dave Airlie wrote: > >> >> 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