Skip to content
Commit d40d3493 authored by Xaver Hugl's avatar Xaver Hugl
Browse files

backends/drm: fix flicker with rotation on mobile

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 a damage region when we use a shadow buffer, which is
effectively setting the damage region to the full surface


(cherry picked from commit 29625218)
parent 98eb8664
Pipeline #196471 canceled with stage
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