Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e70fbe8b authored by Mathias Agopian's avatar Mathias Agopian Committed by Android Git Automerger
Browse files

am 02b95105: fix transitions from hwc to GLES composition

* commit '02b95105':
  fix transitions from hwc to GLES composition
parents 742801c6 02b95105
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
@@ -978,10 +978,10 @@ void SurfaceFlinger::doComposition() {
        if (hw->canDraw()) {
            // transform the dirty region into this screen's coordinate space
            const Region dirtyRegion(hw->getDirtyRegion(repaintEverything));
            if (!dirtyRegion.isEmpty()) {

            // repaint the framebuffer (if needed)
            doDisplayComposition(hw, dirtyRegion);
            }

            hw->dirtyRegion.clear();
            hw->flip(hw->swapRegion);
            hw->swapRegion.clear();