[SDL] Precise screen synchronization

Daniel Rizzuto dan.rizzuto at gmail.com
Fri Sep 15 12:52:50 PDT 2006


Hello, I am creating a double-buffered SDL application. This application
requires that I synchronize buffer swaps to the VBL to avoid tearing and that I
send a signal to the serial port as soon as the display has been updated with
the new frame. Is there any way to know when the buffer swap that I requested
has been executed? A blocking buffer-swap call would suffice for my purposes.
Thank you.

Best, Dan






More information about the SDL mailing list