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

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

am bb53b0e4: When "show visible regions" is enabled we were missing a call to HWC

* commit 'bb53b0e4':
  When "show visible regions" is enabled we were missing a call to HWC
parents e43bc405 bb53b0e4
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -792,6 +792,12 @@ void SurfaceFlinger::doDebugFlashRegions()
    if (mDebugRegion > 1) {
        usleep(mDebugRegion * 1000);
    }

    HWComposer& hwc(getHwComposer());
    if (hwc.initCheck() == NO_ERROR) {
        status_t err = hwc.prepare();
        ALOGE_IF(err, "HWComposer::prepare failed (%s)", strerror(-err));
    }
}

void SurfaceFlinger::preComposition()