[PATCH weston 0/3] Emit GPU rendering timepoints in weston timeline

Alexandros Frantzis alexandros.frantzis at collabora.com
Thu Sep 14 11:07:32 UTC 2017


This patchset adds support for emitting GPU rendering timepoints in the
weston timeline.

The GPU timestamp data is acquired asynchronously using the functionality
provided by the EGL_KHR_fence_sync and EGL_ANDROID_native_fence_sync
extensions.

I have also updated the wesgr tool to display the GPU timepoints. You can get
the proof-of-concept branch at:

    https://github.com/afrantzis/wesgr/tree/renderer-gpu-timeline

Note that I had trouble getting sane timestamps from GPU sync fds on Kabylake
with a 4.12 kernel. Upgrading to 4.13 fixed the problem.

Alexandros Frantzis (3):
  timeline: Add GPU timestamp timepoint argument
  gl-renderer: Add support for fence sync extensions
  gl-renderer: Emit GPU rendering begin and end timeline timepoints

 libweston/gl-renderer.c | 122 ++++++++++++++++++++++++++++++++++++++++++++++++
 libweston/timeline.c    |  12 +++++
 libweston/timeline.h    |   2 +
 3 files changed, 136 insertions(+)

-- 
2.14.1



More information about the wayland-devel mailing list