Kenneth Graunke <kenn...@whitecape.org> writes:

> The code is cut-and-pasted from dri2_glx.c; we can't quite share it
> because we have to use different structures.

It might be fun to use the UST value provided in the
PRESENT_COMPLETE_NOTIFY event instead of a local gettimeofday call? That
way you'd get the presentation time, rather than the time of the swap?

Otherwise, this all seems fine to me

Reviewed-by: Keith Packard <kei...@keithp.com>

-- 
keith.pack...@intel.com

Attachment: pgpu01DhelnAs.pgp
Description: PGP signature

_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to