diff options
author | Dan Stoza <stoza@google.com> | 2015-07-29 16:15:50 -0700 |
---|---|---|
committer | Dan Stoza <stoza@google.com> | 2015-07-29 16:15:50 -0700 |
commit | d87defaf486ff4e9c0066754564851cfb7be49ed (patch) | |
tree | 1cca645ccf3ac1879ab5419086ef549638d8b380 /services/surfaceflinger | |
parent | a29db50c448f8d00a544b925544f3dee725f7750 (diff) | |
download | frameworks_native-d87defaf486ff4e9c0066754564851cfb7be49ed.zip frameworks_native-d87defaf486ff4e9c0066754564851cfb7be49ed.tar.gz frameworks_native-d87defaf486ff4e9c0066754564851cfb7be49ed.tar.bz2 |
SF: Allow present if sideband stream changed
Allows the sideband layer to be passed all the way to HWC instead of
getting blocked by the updated PTS tracking code.
Bug: 22291067
Change-Id: Ic2f20a7528e276fff054e86ca35789c26873b348
Diffstat (limited to 'services/surfaceflinger')
-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; |