Skip to content
  • Xaver Hugl's avatar
    backends/drm: fix flicker with rotation on mobile · 29625218
    Xaver Hugl authored and Vlad Zahorodnii's avatar Vlad Zahorodnii committed
    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
    29625218