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

Commit 96bacd18 authored by Chris Craik's avatar Chris Craik
Browse files

Rebuild outline when setBackground is called.

bug:27505848

Also correctly register damage from profiling bars.

Change-Id: I9550c2742eb833350a077ca48eccf9b584083a1e
parent 83d0078f
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -18084,6 +18084,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)