am 03d7e301: am d87defaf: SF: Allow present if sideband stream changed
* commit '03d7e301c8beb971df7b560d1f16503ba3d6f440': SF: Allow present if sideband stream changed
This commit is contained in:
commit
dca480ff7c
|
@ -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