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

Commit 3bea4255 authored by Ady Abraham's avatar Ady Abraham
Browse files

Trace VsyncId in transactionIsReadyToBeApplied

Change-Id: Iec16e5fbfec51979ca24e351acd7241d059d3eb9
Test: systrace
parent 85bebf4e
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -3663,7 +3663,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.