diff options
author | Dan Stoza <stoza@google.com> | 2015-07-31 15:44:52 +0000 |
---|---|---|
committer | Android Git Automerger <android-git-automerger@android.com> | 2015-07-31 15:44:52 +0000 |
commit | 03d7e301c8beb971df7b560d1f16503ba3d6f440 (patch) | |
tree | 313c452af7fcf9767c1c014df526c96a4d24c29a | |
parent | e2806cb4456e3815e979f333ed23ec7df591a9ff (diff) | |
parent | d87defaf486ff4e9c0066754564851cfb7be49ed (diff) | |
download | frameworks_native-03d7e301c8beb971df7b560d1f16503ba3d6f440.zip frameworks_native-03d7e301c8beb971df7b560d1f16503ba3d6f440.tar.gz frameworks_native-03d7e301c8beb971df7b560d1f16503ba3d6f440.tar.bz2 |
am d87defaf: SF: Allow present if sideband stream changed
* commit 'd87defaf486ff4e9c0066754564851cfb7be49ed':
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; |