weston/libweston/renderer-gl
Derek Foreman 527bc8aeb3 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>
2024-04-10 19:03:04 +00:00
..
egl-glue.c gl-renderer: use pixel_format_info instead of drm fourccs 2023-01-29 14:47:03 +01:00
fragment.glsl color: add support to parametric curves in weston_color_curve 2024-03-26 11:23:26 +00:00
gl-renderer-internal.h color: add support to parametric curves in weston_color_curve 2024-03-26 11:23:26 +00:00
gl-renderer.c gl-renderer: apply output transform before readback in repaint 2024-04-10 19:03:04 +00: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 color: add support to parametric curves in weston_color_curve 2024-03-26 11:23:26 +00:00
gl-shaders.c color: add support to parametric curves in weston_color_curve 2024-03-26 11:23:26 +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: Derive texcoords from position in the vertex shader 2023-06-12 11:15:51 +00:00