Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 744a09eb authored by Dan Stoza's avatar Dan Stoza Committed by Android Git Automerger
Browse files

am f36738d3: am dca480ff: am 03d7e301: am d87defaf: SF: Allow present if sideband stream changed

* commit 'f36738d3':
  SF: Allow present if sideband stream changed
parents 97d475a6 f36738d3
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -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;