How do I wait for vertical retrace?

Johan Walles johan.walles at
Sun May 4 11:06:56 PDT 2008


I would like to wait for vertical retrace in an X application.  How
can I do that?

The point would be to avoid flicker in my app by using double
buffering and update the on-screen image during vertical retrace.

I've been trying to Google this without any luck so far.  Help!

  Regards //Johan

More information about the xorg mailing list