How do I wait for vertical retrace?

Carsten Haitzler (The Rasterman) raster at
Tue May 6 09:50:46 PDT 2008

On Tue, 6 May 2008 18:43:52 +0200 Nicolas George
< at> babbled:

> 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.

it's been pretty much true as long as i have done anything with x (since about
1995...). i have yet to see is not tear...

------------- Codito, ergo sum - "I code, therefore I am" --------------
The Rasterman (Carsten Haitzler)    raster at

More information about the xorg mailing list