am bb53b0e4
: When "show visible regions" is enabled we were missing a call to HWC
* commit 'bb53b0e4b97634bc31808965f81b3ab4193d0e84': When "show visible regions" is enabled we were missing a call to HWC
This commit is contained in:
commit
40e627c5b0
@ -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