weston/libweston/renderer-gl
Derek Foreman d82762e6b7 gl-renderer: apply output transform before readback in repaint
When reading back for the remote backends we need to convert the extents
of the damage (which is in global coordinates) to output coordinates
to read back the correct region.

We were doing this in a bespoke fashion by adding the output coordinates.
Instead, use weston_matrix_transform_rect() to transform the extents by
the output transform - which includes the scale factor.

This fixes output scale on RDP with the gl renderer.

Signed-off-by: Derek Foreman <derek.foreman@collabora.com>
(cherry picked from commit 527bc8aeb3)
2024-04-15 10:28:53 -05: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: Derive texcoords from position in the vertex shader 2023-06-12 11:15:51 +00:00
gl-renderer.c gl-renderer: apply output transform before readback in repaint 2024-04-15 10:28:53 -05:00
gl-renderer.h gl-renderer: support automatically downloading FBO renderbuffers 2023-06-09 15:37:09 +00:00
gl-shader-config-color-transformation.c gl-renderer: add matrix 2022-09-28 10:28:28 +00:00
gl-shaders.c gl-renderer: Stop reading presentation clock without shaders to time 2023-08-02 11:51:56 +03: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: Derive texcoords from position in the vertex shader 2023-06-12 11:15:51 +00:00