Skip to content

gl-renderer: apply output transform before readback in repaint

Derek Foreman requested to merge derekf/weston:renderbuffer_scale into main

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

Merge request reports

Loading