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

Commit 454dede9 authored by Kevin DuBois's avatar Kevin DuBois Committed by android-build-merger
Browse files

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

am: 9dbdf928

Change-Id: I320250e16f1d6dccc00d27db48e56ba8299b6884
parents 524f2fd5 9dbdf928
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -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 {