diff options
author | Dan Stoza <stoza@google.com> | 2015-07-31 15:49:43 +0000 |
---|---|---|
committer | Android Git Automerger <android-git-automerger@android.com> | 2015-07-31 15:49:43 +0000 |
commit | dca480ff7c87b0aea89b079069405aeaaa9942da (patch) | |
tree | ea36ce40eecfd759153f79ad0151552feabce142 | |
parent | 5ed0df2d13be64ccf78f82282035f26eaddca557 (diff) | |
parent | 03d7e301c8beb971df7b560d1f16503ba3d6f440 (diff) | |
download | frameworks_native-dca480ff7c87b0aea89b079069405aeaaa9942da.zip frameworks_native-dca480ff7c87b0aea89b079069405aeaaa9942da.tar.gz frameworks_native-dca480ff7c87b0aea89b079069405aeaaa9942da.tar.bz2 |
am 03d7e301: am d87defaf: SF: Allow present if sideband stream changed
* commit '03d7e301c8beb971df7b560d1f16503ba3d6f440':
SF: Allow present if sideband stream changed
-rw-r--r-- | services/surfaceflinger/Layer.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/services/surfaceflinger/Layer.cpp b/services/surfaceflinger/Layer.cpp index e2418cc..5ff79a9 100644 --- a/services/surfaceflinger/Layer.cpp +++ b/services/surfaceflinger/Layer.cpp @@ -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; |