[Mesa-dev] [PATCH] glx/dri3: Port LIBGL_SHOW_FPS=1 code from DRI2 to DRI3.
Keith Packard
keithp at keithp.com
Tue Oct 28 11:12:40 PDT 2014
Kenneth Graunke <kenneth at 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 <keithp at keithp.com>
--
keith.packard at intel.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 810 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20141028/6cdfea42/attachment.sig>
More information about the mesa-dev
mailing list