Skip to content
Commit 527bc8ae authored by Derek Foreman's avatar Derek Foreman
Browse files

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: default avatarDerek Foreman <derek.foreman@collabora.com>
parent 3179e0f0
Loading
Loading
Loading
Pipeline #1150992 passed with stages
in 5 minutes and 18 seconds
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment