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

Commit 3266cdac authored by Mathias Agopian's avatar Mathias Agopian Committed by Android Git Automerger
Browse files

am 71e83e12: the visibleRegion was never set in hwcomposer

* commit '71e83e12':
  the visibleRegion was never set in hwcomposer
parents 84eda044 71e83e12
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,