How do I wait for vertical retrace?

Chuck Robey chuckr at chuckr.org
Tue May 6 09:46:06 PDT 2008


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Nicolas George wrote:
> 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.

That seems odd.  I'm currently reading the OpenGL Redbook (their latest
programming manual) and it seems to be directly contradicting you.  I haven't
tried it yet myself, though, but still, are you sure about that statement?  What
they say does seem to make sense.

> 
> Regards,
> 
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> xorg mailing list
> xorg at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/xorg

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.4 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFIIItOz62J6PPcoOkRAtA4AKCeCGleZF7VG8qIvgrQDxM0AbZy9wCdHV8R
4nagBEvJlsXBWAEsAwN61O0=
=SY1B
-----END PGP SIGNATURE-----



More information about the xorg mailing list