[Mesa-dev] [PATCH] glx/dri3: Implement LIBGL_SHOW_FPS=1 for DRI3/Present.

Keith Packard keithp at keithp.com
Wed Oct 29 12:50:33 PDT 2014

Kenneth Graunke <kenneth at whitecape.org> writes:

> v2: Use the UST value provided in the PRESENT_COMPLETE_NOTIFY event
>     rather than gettimeofday(), which gives us the presentation time
>     instead of the time when SwapBuffers was called.  Suggested by
>     Keith Packard.  This relies on the fact that the X DRI3/Present
>     implementations use microseconds for UST.
> v3: Properly ignore PresentCompleteKindMSCNotify; multiply in 64 bits
>     (caught by Keith Packard).

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/20141029/335f2b38/attachment.sig>

More information about the mesa-dev mailing list