* commit 'dca480ff7c87b0aea89b079069405aeaaa9942da': SF: Allow present if sideband stream changed
This commit is contained in:
commit
f36738d37f
@ -1101,6 +1101,10 @@ void Layer::useEmptyDamage() {
|
|||||||
// ----------------------------------------------------------------------------
|
// ----------------------------------------------------------------------------
|
||||||
|
|
||||||
bool Layer::shouldPresentNow(const DispSync& dispSync) const {
|
bool Layer::shouldPresentNow(const DispSync& dispSync) const {
|
||||||
|
if (mSidebandStreamChanged) {
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
|
||||||
Mutex::Autolock lock(mQueueItemLock);
|
Mutex::Autolock lock(mQueueItemLock);
|
||||||
if (mQueueItems.empty()) {
|
if (mQueueItems.empty()) {
|
||||||
return false;
|
return false;
|
||||||
|
Loading…
Reference in New Issue
Block a user