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

Commit 18161438 authored by Baldev Sahu's avatar Baldev Sahu Committed by Arne Coucheron
Browse files

Revert "sf: Make sure HWC_BLENDING_NONE is set for opaque layer"

This reverts commit dda1fa34.
- Blending issue is observed if HWC_BLENDING_NONE is used for layer
having plane alpha.

Change-Id: I67e5d1059e81d5a7c17b0e330429f09690d32721
parent f166831e
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -477,7 +477,7 @@ void Layer::setGeometry(

    // this gives us only the "orientation" component of the transform
    const State& s(getDrawingState());
    if (!isOpaque(s)) {
    if (!isOpaque(s) || s.alpha != 0xFF) {
        layer.setBlending(mPremultipliedAlpha ?
                HWC_BLENDING_PREMULT :
                HWC_BLENDING_COVERAGE);