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

Commit e3a068cd authored by Valerie Hau's avatar Valerie Hau Committed by Automerger Merge Worker
Browse files

Merge "Send transaction callbacks earlier" into rvc-dev am: 8e84c4bb am:...

Merge "Send transaction callbacks earlier" into rvc-dev am: 8e84c4bb am: 5b11d90d am: 2fc39579 am: 88dcf6c2

Change-Id: I1fe13043d53ea71bd58266b95d1253aedf50590d
parents 28bbf305 88dcf6c2
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -2249,6 +2249,9 @@ void SurfaceFlinger::postComposition()
        }
    });

    mTransactionCompletedThread.addPresentFence(mPreviousPresentFences[0]);
    mTransactionCompletedThread.sendCallbacks();

    if (displayDevice && displayDevice->isPrimary() &&
        displayDevice->getPowerMode() == HWC_POWER_MODE_NORMAL && presentFenceTime->isValid()) {
        mScheduler->addPresentFence(presentFenceTime);
@@ -2329,9 +2332,6 @@ void SurfaceFlinger::postComposition()
        }
    }

    mTransactionCompletedThread.addPresentFence(mPreviousPresentFences[0]);
    mTransactionCompletedThread.sendCallbacks();

    if (mLumaSampling && mRegionSamplingThread) {
        mRegionSamplingThread->notifyNewContent();
    }