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

Commit 2bbf60ab authored by Peiyong Lin's avatar Peiyong Lin Committed by Android (Google) Code Review
Browse files

Merge "Avoid sending powerhint right after GPU composition." into qt-dev

parents dee669c2 8ec87f8c
Loading
Loading
Loading
Loading
+2 −3
Original line number Diff line number Diff line
@@ -3402,10 +3402,9 @@ bool SurfaceFlinger::doComposeSurfaces(const sp<DisplayDevice>& displayDevice,
        renderEngine.drawLayers(clientCompositionDisplay, clientCompositionLayers,
                                buf->getNativeBuffer(), /*useFramebufferCache=*/true, std::move(fd),
                                readyFence);
        if (expensiveRenderingExpected && displayId) {
    } else if (displayId) {
        mPowerAdvisor.setExpensiveRenderingExpected(*displayId, false);
    }
    }
    return true;
}