Merge "Revert "hwui: ro.hwui.render_ahead=0 queue on high FPS"" into qt-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
515e7a7464
@@ -153,8 +153,7 @@ void CanvasContext::setSurface(sp<Surface>&& surface) {
|
|||||||
mNativeSurface = nullptr;
|
mNativeSurface = nullptr;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (mRenderAheadDepth == 0 && DeviceInfo::get()->getMaxRefreshRate() > 66.6f &&
|
if (mRenderAheadDepth == 0 && DeviceInfo::get()->getMaxRefreshRate() > 66.6f) {
|
||||||
!mFixedRenderAhead) {
|
|
||||||
mFixedRenderAhead = false;
|
mFixedRenderAhead = false;
|
||||||
mRenderAheadCapacity = 1;
|
mRenderAheadCapacity = 1;
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Reference in New Issue
Block a user