* commit '40e627c5b0952b8b342b9589d162b60319e1bbce': When "show visible regions" is enabled we were missing a call to HWC
This commit is contained in:
commit
fdb62d7374
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user