When "show visible regions" is enabled we were missing a call to HWC
Bug: 7204034 Change-Id: I64dd78362fa75149513a7d9ff92dde175e9b4958
This commit is contained in:
parent
f68c825c75
commit
bb53b0e4b9
@ -792,6 +792,12 @@ void SurfaceFlinger::doDebugFlashRegions()
|
|||||||
if (mDebugRegion > 1) {
|
if (mDebugRegion > 1) {
|
||||||
usleep(mDebugRegion * 1000);
|
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()
|
void SurfaceFlinger::preComposition()
|
||||||
|
Loading…
Reference in New Issue
Block a user