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