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

Commit 89eca324 authored by Vishnu Nair's avatar Vishnu Nair Committed by Android (Google) Code Review
Browse files

Merge "SurfaceFlinger: Don't handle effects if a buffer is available"

parents d9071032 f115db8c
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -769,7 +769,7 @@ std::optional<compositionengine::LayerFE::LayerSettings> Layer::prepareClientCom
    // Record the name of the layer for debugging further down the stack.
    layerSettings.name = getName();

    if (hasEffect()) {
    if (hasEffect() && !hasBufferOrSidebandStream()) {
        prepareEffectsClientComposition(layerSettings, targetSettings);
        return layerSettings;
    }