[Development] OpenGL Texture VBlank Issues
I'm developing a simple application on Linux (an image and movie player) and I have some questions regarding some issues I am seeing under a GeForce 7300GTX.
Currently, I am playing my video by mapping a quad with a multitexture shader pipeline. The texture gets regenerated every 1/24-60th of a second using glTexSubImage2D and the application runs under the FLTK toolkit.
The problem I am seeing are issues with the redraw/update leading to some minor 'tears' during playback, as if the opengl was not properly synced with the monitors' vsync.
I was also getting similar issues just when I was trying to pan an image very fast. Turning OFF the "Allow Flipping" option in the nvidia settings fixed that problem. However, the video tearing problem remains. All the Sync To VBlank options are switched on.
I'm looking for hints or some help as to what could I be doing wrong.
If this is not appropriate forum, please point me in the right direction.