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

Commit f32a9c0c 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

Change-Id: I95a5645e16a9431a57be6b23dcd9c95075957aac
parents a7767c9f 13269764
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);
    }