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

Commit 71e83e12 authored by Mathias Agopian's avatar Mathias Agopian
Browse files

the visibleRegion was never set in hwcomposer

Bug: 7089478
Change-Id: I13b031b23ce908d33f431a04e1cf87831b551260
parent da8d0a5c
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -276,10 +276,10 @@ void Layer::setGeometry(

void Layer::setPerFrameData(const sp<const DisplayDevice>& hw,
        HWComposer::HWCLayerInterface& layer) {
    const sp<GraphicBuffer>& buffer(mActiveBuffer);
    LayerBaseClient::setPerFrameData(hw, layer);
    // NOTE: buffer can be NULL if the client never drew into this
    // layer yet, or if we ran out of memory
    layer.setBuffer(buffer);
    layer.setBuffer(mActiveBuffer);
}

void Layer::setAcquireFence(const sp<const DisplayDevice>& hw,