summaryrefslogtreecommitdiff
path: root/libs/gui/DisplayEventDispatcher.cpp
diff options
context:
space:
mode:
author Rachel Lee <rnlee@google.com> 2021-09-23 13:27:53 -0700
committer Rachel Lee <rnlee@google.com> 2021-09-23 13:32:25 -0700
commit57674f3ad14d6ac05aef09acffd2256e0a65308a (patch)
tree41475a97ba6331bbf1656f11e9b5ed49a981c77b /libs/gui/DisplayEventDispatcher.cpp
parent2dcfdc1b5d30dcbb362ce18c6e7d862125e2cb25 (diff)
Plumb expected present time to Choreographer.
Bug: 198191648 Test: make Change-Id: I46ed20676ffddccc83aec11801adc4c875ac6f00
Diffstat (limited to 'libs/gui/DisplayEventDispatcher.cpp')
-rw-r--r--libs/gui/DisplayEventDispatcher.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/libs/gui/DisplayEventDispatcher.cpp b/libs/gui/DisplayEventDispatcher.cpp
index e1b1efc0ed..6f1a7aed9c 100644
--- a/libs/gui/DisplayEventDispatcher.cpp
+++ b/libs/gui/DisplayEventDispatcher.cpp
@@ -153,6 +153,7 @@ 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;
break;
case DisplayEventReceiver::DISPLAY_EVENT_HOTPLUG:
dispatchHotplug(ev.header.timestamp, ev.header.displayId, ev.hotplug.connected);