diff options
author | Kenneth Graunke <[email protected]> | 2014-03-14 18:53:42 -0700 |
---|---|---|
committer | Kenneth Graunke <[email protected]> | 2014-10-29 15:13:58 -0700 |
commit | 26122e09a304061e46690e1b9da2e36a527b3e2e (patch) | |
tree | 2c22a14cb1dbcf5ebf733b41e6d462418a14fee3 /src/glx/pixel.c | |
parent | 62b07b934ecce1f370f3566ad3613341ff86aba1 (diff) |
glx/dri3: Implement LIBGL_SHOW_FPS=1 for DRI3/Present.
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).
Signed-off-by: Kenneth Graunke <[email protected]>
Reviewed-by: Keith Packard <[email protected]> [v3]
Reviewed-by: Marek Olšák <[email protected]> [v1]
Diffstat (limited to 'src/glx/pixel.c')
0 files changed, 0 insertions, 0 deletions