am 03d7e301: am d87defaf: SF: Allow present if sideband stream changed

* commit '03d7e301c8beb971df7b560d1f16503ba3d6f440':
  SF: Allow present if sideband stream changed
This commit is contained in:
Dan Stoza 2015-07-31 15:49:43 +00:00 committed by Android Git Automerger
commit dca480ff7c
1 changed files with 4 additions and 0 deletions

View File

@ -1101,6 +1101,10 @@ void Layer::useEmptyDamage() {
// ----------------------------------------------------------------------------
bool Layer::shouldPresentNow(const DispSync& dispSync) const {
if (mSidebandStreamChanged) {
return true;
}
Mutex::Autolock lock(mQueueItemLock);
if (mQueueItems.empty()) {
return false;