Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 9c78c046 authored by Miguel de Dios's avatar Miguel de Dios Committed by android-build-merger
Browse files

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

Merge "Revert "hwui: ro.hwui.render_ahead=0 queue on high FPS"" into qt-dev am: 515e7a74 am: 0540fce3
am: 605e1e66

Change-Id: Ic507829c9979ed1350e99f09af685261b1ea2728
parents 557aabad 605e1e66
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -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 {