PDA

View Full Version : Multiple Glut Windows and vsync Performance issues



gedalia
04-23-2004, 10:27 AM
Hello,
I'm working on a glut application that has multiple windows, I've noticed that the max frame rate I can get is the (refresh rate)/(number of windows).
I think by turning off vsync I can get rid of this problem, but I'd rather not risk the potential image tearing. Is there anyway for me to wait for one vsync and swap all the the windows buffers at the same time?
So far I've looked at the WGL_EXT_swap_control, but that only lets me turn on and off vsync.
I've also tracked down FrameLock
http://www.cs.unc.edu/Research/stc/FAQs/nVidia/FrameLock-V1.0C.pdf
which seems like it could help but only works on high end nvidia cards.
-gedalia