Sign in to follow this  
ehmdjii

How does VSYNC work?

Recommended Posts

ehmdjii    238

from a hardware point of view, how does vsync work?

 

is it the monitor telling the graphics card, i am ready, give me the next frame.

 

or is it the graphics card pusing the next frame to the monitor in regular intervals?

 

 

also, is it true that real vsync only works in exclusive fullscreen mode?

Share this post


Link to post
Share on other sites
dave j    681
Historical note:

In the olden days, 8 bit micro era, there wasn't enough memory to do double buffering (even if the hardware supported it). In order to get tear free screen updates some programs with complex screen updates would wait for the VBLANK then start updating the screen memory from top to bottom trying to keep ahead of the raster. The delay between the VBLANK and the raster starting to draw the first line allowed them to get enough of a head start to allow them to finish before the raster caught up.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this