Skip to content

drm: Properly check for the need for transformation

Aleix Pol Gonzalez requested to merge work/fix-upside-down-rotation into master

At the moment we were checking for size difference between the buffers which works for rotation but not for flipped or up-side down screens.

This changes how we check it by comparing the effective transform vs the supported one in drm to see if they differ.

Fixes https://invent.kde.org/plasma/plasma-phone-components/-/issues/112

Merge request reports

Loading