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

Commit 2262abbd authored by Chris Craik's avatar Chris Craik
Browse files

Respect round rect clip when determining op opaqueness

bug:17115570
Change-Id: I30184b4678d333b5d222af8b61daa07a5e865cab
parent 49e057d7
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -208,6 +208,8 @@ protected:
        // ensure that local bounds cover mapped bounds
        if (!state.mMatrix.isSimple()) return false;

        if (state.mRoundRectClipState) return false;

        // check state/paint for transparency
        if (mPaint) {
            if (mPaint->getShader() && !mPaint->getShader()->isOpaque()) {