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

Commit 8b7cc51c authored by Stan Iliev's avatar Stan Iliev
Browse files

Allow outline for projected backward nodes to be a path

Outlines are limited to rect and round rect, with exception of
outlines clipping RippleDrawable (backward projected node).

Test: Ran test app
Bug: 27343928
Bug: 121359065
Change-Id: I40dd4801f7c0b400350e0aeff275a2ac10241cbe
parent e3d149bb
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -161,7 +161,7 @@ void RenderNodeDrawable::forceDraw(SkCanvas* canvas) {
            SkAutoCanvasRestore acr2(canvas, shouldClip);
            canvas->setMatrix(mProjectedDisplayList->mParentMatrix);
            if (shouldClip) {
                clipOutline(*mProjectedDisplayList->mProjectedOutline, canvas, nullptr);
                canvas->clipPath(*mProjectedDisplayList->mProjectedOutline->getPath());
            }
            drawBackwardsProjectedNodes(canvas, *mProjectedDisplayList);
        }