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

Commit aadc0320 authored by Stan Iliev's avatar Stan Iliev
Browse files

Clear the frame buffer for F16 pixel format

This is a workaround for Qualcomm bug and should be reverted
after a proper fixed is found.

Bug: 74976293
Test: Ran Photo app
Change-Id: I9e0a4634f02c3553635f058eb588b510a63273ba
parent bd65574d
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);
    }