i have a question about swapping buffers in sync with vertical
retrace to avoid tearing.
Situation is: i have multiple opengl windows on the same
( virtual ) monitor. I do this because framebuffers are
limited in edge size ( 8k ) but my output resolution may exceed this in one direction.
If the first window swaps to vsync, the other one(s) will miss
this frame, since the swap happened when the function
returns. Result is a visible delay between the windows.
I tried calling the first with vsync turned on and the others
immediately after this without vsync turned on but this does
not work, tearing is visible.
Is there a possibility to call each windows swap in a non-
blocking way, eg. i can just ‘trigger’ the swapbuffer call without actually waiting for it?
I would prefer a solution without using different
threads or processes&ipc, just for performance and simplicity,
if there is any -