Merge "Revert "hwui: ro.hwui.render_ahead=0 queue on high FPS"" into qt-dev am: 515e7a7464
am: 0540fce354
Change-Id: I532a1077e77a841e18afe3656cd05f11b6808a57
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user