weston/libweston/renderer-gl
Loïc Molinari 7c9c545b4e gl-renderer: Get rid of begin fence sync
Output repaint uses a pair of fence syncs to profile GPU execution by
retrieving their timestamps once signalled. While the end timestamp
can be rather inaccurate in some cases (drivers reusing sync objects
from previous command buffers), the begin timestamp is never correct
because fence syncs are signalled on command buffer completion.

Get rid of the begin fence sync and use the EXT_disjoint_timer_query
extension to measure the actual repaint duration and extrapolate the
begin timestamp from the end one.

Fixes #342

Signed-off-by: Loïc Molinari <loic.molinari@gmail.com>
2023-04-03 09:52:36 +02:00
..
egl-glue.c gl-renderer: use pixel_format_info instead of drm fourccs 2023-01-29 14:47:03 +01:00
fragment.glsl gl-renderer: Use highest precision for vertex shaders 2023-02-02 21:46:06 +00:00
gl-renderer-internal.h gl-renderer: Get rid of begin fence sync 2023-04-03 09:52:36 +02:00
gl-renderer.c gl-renderer: Get rid of begin fence sync 2023-04-03 09:52:36 +02:00
gl-renderer.h gl-renderer: use pixel_format_info instead of drm fourccs 2023-01-29 14:47:03 +01:00
gl-shader-config-color-transformation.c gl-renderer: add matrix 2022-09-28 10:28:28 +00:00
gl-shaders.c gl-shaders: Don't attempt to set unicolor when it's not valid 2023-01-16 17:47:30 +00:00
meson.build gl-renderer: implement 3 x 1D LUT color pre-curve 2021-06-21 14:36:33 +00:00
vertex.glsl gl-renderer: Use highest precision for vertex shaders 2023-02-02 21:46:06 +00:00