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

Commit 98a13a14 authored by Dan Stoza's avatar Dan Stoza Committed by Android (Google) Code Review
Browse files

Merge "SF: Apply pending transactions to new sidebands" into mnc-dev

parents deb6baa6 12e0a27a
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -1125,6 +1125,10 @@ Region Layer::latchBuffer(bool& recomputeVisibleRegions)
    if (android_atomic_acquire_cas(true, false, &mSidebandStreamChanged) == 0) {
        // mSidebandStreamChanged was true
        mSidebandStream = mSurfaceFlingerConsumer->getSidebandStream();
        if (mSidebandStream != NULL) {
            setTransactionFlags(eTransactionNeeded);
            mFlinger->setTransactionFlags(eTraversalNeeded);
        }
        recomputeVisibleRegions = true;

        const State& s(getDrawingState());