Skip to content
Commit fb1a6ecd authored by Vlad Zahorodnii's avatar Vlad Zahorodnii
Browse files

backends/drm: Fix buffer centering with active hardware transform

Prior to beb6cca6, the drm backend used
to specify QRect(0, 0, modeSize.width(), modeSize.height()) CRTC rect,
so we didn't have to care about buffer transforms, but now that we
compute the CRTC rect from the buffer size, we have to take the buffer
transform into account.

It fixes squashed output contents when the output is rotated 90 or 270
degrees and it uses hardware transforms.
parent 88563cbc
Pipeline #297911 passed with stage
in 45 minutes and 54 seconds
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment