Merge "SF: Apply pending transactions to new sidebands" into mnc-dev
This commit is contained in:
commit
98a13a1475
@ -1125,6 +1125,10 @@ Region Layer::latchBuffer(bool& recomputeVisibleRegions)
|
|||||||
if (android_atomic_acquire_cas(true, false, &mSidebandStreamChanged) == 0) {
|
if (android_atomic_acquire_cas(true, false, &mSidebandStreamChanged) == 0) {
|
||||||
// mSidebandStreamChanged was true
|
// mSidebandStreamChanged was true
|
||||||
mSidebandStream = mSurfaceFlingerConsumer->getSidebandStream();
|
mSidebandStream = mSurfaceFlingerConsumer->getSidebandStream();
|
||||||
|
if (mSidebandStream != NULL) {
|
||||||
|
setTransactionFlags(eTransactionNeeded);
|
||||||
|
mFlinger->setTransactionFlags(eTraversalNeeded);
|
||||||
|
}
|
||||||
recomputeVisibleRegions = true;
|
recomputeVisibleRegions = true;
|
||||||
|
|
||||||
const State& s(getDrawingState());
|
const State& s(getDrawingState());
|
||||||
|
Loading…
Reference in New Issue
Block a user