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

Commit 7fb0d094 authored by Chris Craik's avatar Chris Craik Committed by Android (Google) Code Review
Browse files

Merge "Rebuild outline when setBackground is called." into nyc-dev

parents c0373595 96bacd18
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -18091,6 +18091,7 @@ public class View implements Drawable.Callback, KeyEvent.Callback,
        mBackgroundSizeChanged = true;
        invalidate(true);
        invalidateOutline();
    }
    /**
+2 −1
Original line number Diff line number Diff line
@@ -198,8 +198,9 @@ void BakedOpRenderer::drawRects(const float* rects, int count, const SkPaint* pa

    LOG_ALWAYS_FATAL_IF(mRenderTarget.frameBufferId != 0, "decoration only supported for FBO 0");
    // TODO: Currently assume full FBO damage, due to FrameInfoVisualizer::unionDirty.
    // Should should scissor safely.
    // Should should scissor/set mHasDrawn safely.
    mRenderState.scissor().setEnabled(false);
    mHasDrawn = true;
    Glop glop;
    GlopBuilder(mRenderState, mCaches, &glop)
            .setRoundRectClipState(nullptr)