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

Commit 17a360cf authored by Stan Iliev's avatar Stan Iliev Committed by android-build-merger
Browse files

Merge "Clear the frame buffer for F16 pixel format" into pi-dev am: 13269764

am: f32a9c0c

Change-Id: I1283bb9fca81027ff87c2e18f19d701822830f00
parents bdfc53b3 f32a9c0c
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -342,7 +342,8 @@ void SkiaPipeline::renderFrameImpl(const LayerUpdateQueue& layers, const SkRect&
    SkAutoCanvasRestore saver(canvas, true);
    canvas->androidFramework_setDeviceClipRestriction(clip.roundOut());

    if (!opaque) {
    // STOPSHIP: Revert, temporary workaround to clear always F16 frame buffer for b/74976293
    if (!opaque || wideColorGamut) {
        canvas->clear(SK_ColorTRANSPARENT);
    }