Skip to content
Commit d82762e6 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>
(cherry picked from commit 527bc8ae)
parent b49856fe
Loading
Loading
Loading
Pipeline #1155329 passed with stages
in 7 minutes and 53 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