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

Commit d6280d6b authored by Marin Shalamanov's avatar Marin Shalamanov
Browse files

Remove a log in BufferQueueLayer::latchSidebandStream()

Remove the verbose log in latchSidebandStream() because it
can potentially be called on every frame.

Bug: 159511848
Test: m surfaceflinger
Change-Id: I2ffefbe2d7469c869ace67e8483c09ab73f2bc8f
parent 7cc3dd32
Loading
Loading
Loading
Loading
+1 −3
Original line number Diff line number Diff line
@@ -208,10 +208,8 @@ bool BufferQueueLayer::getSidebandStreamChanged() const {
}

bool BufferQueueLayer::latchSidebandStream(bool& recomputeVisibleRegions) {
    // We need to update the sideband stream if the layer has both a buffer and a sideband stream.
    const bool updateSidebandStream = hasFrameUpdate() && mSidebandStream.get();
    ALOGV_IF(updateSidebandStream,
             "[%s] has both sideband stream and buffer. Updating the sideband stream.",
             mName.c_str());

    bool sidebandStreamChanged = true;
    if (mSidebandStreamChanged.compare_exchange_strong(sidebandStreamChanged, false) ||