am c037ca7f: am c4e98c40: Merge "SF: Apply pending transactions to new sidebands"

* commit 'c037ca7fb1c0163c58e8707d1184bb73aabc0730':
  SF: Apply pending transactions to new sidebands
This commit is contained in:
Dan Stoza 2015-05-06 23:48:07 +00:00 committed by Android Git Automerger
commit e63633e53d
1 changed files with 4 additions and 0 deletions

View File

@ -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());