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
>
> 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
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
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