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

Commit bc4d35fe authored by Jeff Boody's avatar Jeff Boody Committed by Giulio Cervera
Browse files

SurfaceFlinger: notify HWC when layer is in asynchronous mode

When the layer is in asynchronous mode the HWC may choose a
different composition method.

CRs-Fixed: 335498
Change-Id: Ifa4658338e98e80e9a673bdf10ae388f0ad3ae9f
parent 16d88528
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -281,6 +281,7 @@ void Layer::setPerFrameData(hwc_layer_t* hwcl) {
        hwcl->handle = buffer->handle;
    }
#ifdef QCOM_HARDWARE
    updateLayerQcomFlags(LAYER_ASYNCHRONOUS_STATUS, !mSurfaceTexture->isSynchronousMode(), mLayerQcomFlags);
    hwcl->flags = getPerFrameFlags(hwcl->flags, mLayerQcomFlags);
#endif
}