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

Commit d87defaf authored by Dan Stoza's avatar Dan Stoza
Browse files

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
parent a29db50c
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;