How do I wait for vertical retrace?

Nicolas George at
Tue May 6 09:43:52 PDT 2008

L'octidi 18 floréal, an CCXVI, Johan Walles a écrit :
> I don't care about vertical retrace in itself, waiting for vertical
> retrace would only be a way for me to achieve flicker-free animation
> in a 2D application.

DOUBLE-BUFFER is no good for that: when used for continuous animation (such
as video), it causes exactly as much tearing as a simple bitmap copy. At
least it was true in November 2006.


  Nicolas George
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <>

More information about the xorg mailing list