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

Commit 5ec4be5f authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Trace VsyncId in transactionIsReadyToBeApplied"

parents 6271cc23 3bea4255
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -3673,7 +3673,7 @@ bool SurfaceFlinger::transactionIsReadyToBeApplied(
        const std::unordered_set<sp<IBinder>, ISurfaceComposer::SpHash<IBinder>>&
                bufferLayersReadyToPresent,
        bool allowLatchUnsignaled) const {
    ATRACE_CALL();
    ATRACE_FORMAT("transactionIsReadyToBeApplied vsyncId: %" PRId64, info.vsyncId);
    const nsecs_t expectedPresentTime = mExpectedPresentTime.load();
    // Do not present if the desiredPresentTime has not passed unless it is more than one second
    // in the future. We ignore timestamps more than 1 second in the future for stability reasons.