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