Loading services/surfaceflinger/BufferStateLayer.cpp +4 −1 Original line number Diff line number Diff line Loading @@ -682,7 +682,10 @@ void BufferStateLayer::setAutoRefresh(bool autoRefresh) { } bool BufferStateLayer::latchSidebandStream(bool& recomputeVisibleRegions) { if (mSidebandStreamChanged.exchange(false)) { // We need to update the sideband stream if the layer has both a buffer and a sideband stream. const bool updateSidebandStream = hasFrameUpdate() && mSidebandStream.get(); if (mSidebandStreamChanged.exchange(false) || updateSidebandStream) { const State& s(getDrawingState()); // mSidebandStreamChanged was true mSidebandStream = s.sidebandStream; Loading Loading
services/surfaceflinger/BufferStateLayer.cpp +4 −1 Original line number Diff line number Diff line Loading @@ -682,7 +682,10 @@ void BufferStateLayer::setAutoRefresh(bool autoRefresh) { } bool BufferStateLayer::latchSidebandStream(bool& recomputeVisibleRegions) { if (mSidebandStreamChanged.exchange(false)) { // We need to update the sideband stream if the layer has both a buffer and a sideband stream. const bool updateSidebandStream = hasFrameUpdate() && mSidebandStream.get(); if (mSidebandStreamChanged.exchange(false) || updateSidebandStream) { const State& s(getDrawingState()); // mSidebandStreamChanged was true mSidebandStream = s.sidebandStream; Loading