PDA

View Full Version : SwapBuffers no longer non-busy-waits for v-sync?



ColacX
01-12-2010, 03:13 PM
Hi there i'm confused i recently upgraded to Windows7 and before that i was pretty sure that SwapBuffers(); non-busy-waited for Vertical Sync. Nowdays it busy-waits for v-sync. And testing it on windows-vista it also busy-waits, so am I just remembering wrong or did someone update a driver?

Dark Photon
01-13-2010, 12:52 PM
Are you saying you don't want it to wait for vsync? Or that it seems to be burning up the CPU waiting for vsync now?

ZbuffeR
01-13-2010, 01:20 PM
not tested recently, but on window2000 swapbuffers alone did not busywaited on vsync, but adding glFinish did busy wait.

Alfonse Reinheart
01-13-2010, 03:08 PM
SwapBuffers does not have to do anything immediately. It doesn't have to wait for vsync or even just for all of the previously issue rendering commands to finish. It may way for these things, but it doesn't have to.

ColacX
01-13-2010, 08:46 PM
Are you saying you don't want it to wait for vsync? Or that it seems to be burning up the CPU waiting for vsync now? The second one, wondering if theres anyway to change into a non-busy-wait