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

Commit 515e7a74 authored by Miguel de Dios's avatar Miguel de Dios Committed by Android (Google) Code Review
Browse files

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

parents 4ff47997 509627ba
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 {