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

Commit 13269764 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

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

parents d9e1a8fd aadc0320
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);
    }