summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Rachel Lee <rnlee@google.com> 2021-11-17 22:55:29 +0000
committer Android (Google) Code Review <android-gerrit@google.com> 2021-11-17 22:55:29 +0000
commite23937a794100d5fbbedaca70d13b69d3c8814ec (patch)
tree6c90bd285ffebd59424627606dce18edee20f819
parent4a8f39d5c65c0edd9844c6b24cf436427e9b976e (diff)
parent08c4fd4ecd0484e5993d6f34638224cc17c30244 (diff)
Merge "Obsoleted VsyncEventData.expectedPresentTime."
-rw-r--r--libs/gui/DisplayEventDispatcher.cpp1
-rw-r--r--libs/gui/include/gui/DisplayEventDispatcher.h3
2 files changed, 0 insertions, 4 deletions
diff --git a/libs/gui/DisplayEventDispatcher.cpp b/libs/gui/DisplayEventDispatcher.cpp
index 837967551d..ee8008270e 100644
--- a/libs/gui/DisplayEventDispatcher.cpp
+++ b/libs/gui/DisplayEventDispatcher.cpp
@@ -182,7 +182,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);
diff --git a/libs/gui/include/gui/DisplayEventDispatcher.h b/libs/gui/include/gui/DisplayEventDispatcher.h
index 8a3a47644c..40621ddb15 100644
--- a/libs/gui/include/gui/DisplayEventDispatcher.h
+++ b/libs/gui/include/gui/DisplayEventDispatcher.h
@@ -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