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

* commit 'dca480ff7c87b0aea89b079069405aeaaa9942da':
  SF: Allow present if sideband stream changed
This commit is contained in:
Dan Stoza 2015-07-31 15:56:27 +00:00 committed by Android Git Automerger
commit f36738d37f
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;