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

Commit 08c4fd4e authored by Rachel Lee's avatar Rachel Lee
Browse files

Obsoleted VsyncEventData.expectedPresentTime.

It was obsoleted after plumbing multiple frame timelines which each
have expected present time.

Bug: 198192508
Test: atest ChoreographerNativeTest
Change-Id: Ib39f8093ff89c9f7831cc40375d7a0a5ae9408dc
parent c9963a2d
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -166,7 +166,6 @@ bool DisplayEventDispatcher::processPendingEvents(nsecs_t* outTimestamp,
                    outVsyncEventData->id = ev.vsync.vsyncId;
                    outVsyncEventData->deadlineTimestamp = ev.vsync.deadlineTimestamp;
                    outVsyncEventData->frameInterval = ev.vsync.frameInterval;
                    outVsyncEventData->expectedPresentTime = ev.vsync.expectedVSyncTimestamp;
                    outVsyncEventData->preferredFrameTimelineIndex =
                            ev.vsync.preferredFrameTimelineIndex;
                    populateFrameTimelines(ev, outVsyncEventData);
+0 −3
Original line number Diff line number Diff line
@@ -35,9 +35,6 @@ struct VsyncEventData {
    // The current frame interval in ns when this frame was scheduled.
    int64_t frameInterval = 0;

    // The anticipated Vsync present time.
    int64_t expectedPresentTime = 0;

    struct FrameTimeline {
        // The Vsync Id corresponsing to this vsync event. This will be used to
        // populate ISurfaceComposer::setFrameTimelineVsync and