Skip to content

backends/drm: fix flicker with rotation on mobile

Xaver Hugl requested to merge work/zamundaaa/fix-mobile-rotation into master

When we use a shadow buffer, we always render to the whole surface - setting the damage region is incorrect and invokes undefined behavior. On the Lima driver this caused flickering on screen rotation. To fix this, don't set the damage region with a shadow buffer, which is equivalent to setting the damage region to the whole surface

This fixes teams/plasma-mobile/issues#162 (closed)

Merge request reports