Merge "Revert "hwui: ro.hwui.render_ahead=0 queue on high FPS"" into qt-dev

This commit is contained in:
Miguel de Dios
2019-05-15 21:06:07 +00:00
committed by Android (Google) Code Review

View File

@@ -153,8 +153,7 @@ void CanvasContext::setSurface(sp<Surface>&& surface) {
mNativeSurface = nullptr;
}
if (mRenderAheadDepth == 0 && DeviceInfo::get()->getMaxRefreshRate() > 66.6f &&
!mFixedRenderAhead) {
if (mRenderAheadDepth == 0 && DeviceInfo::get()->getMaxRefreshRate() > 66.6f) {
mFixedRenderAhead = false;
mRenderAheadCapacity = 1;
} else {