summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDan Stoza <stoza@google.com>2015-07-31 15:44:52 +0000
committerAndroid Git Automerger <android-git-automerger@android.com>2015-07-31 15:44:52 +0000
commit03d7e301c8beb971df7b560d1f16503ba3d6f440 (patch)
tree313c452af7fcf9767c1c014df526c96a4d24c29a
parente2806cb4456e3815e979f333ed23ec7df591a9ff (diff)
parentd87defaf486ff4e9c0066754564851cfb7be49ed (diff)
downloadframeworks_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.cpp4
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;