summaryrefslogtreecommitdiff
path: root/libs/gui/DisplayEventDispatcher.cpp
diff options
context:
space:
mode:
author Rachel Lee <rnlee@google.com> 2021-09-29 19:28:08 +0000
committer Android (Google) Code Review <android-gerrit@google.com> 2021-09-29 19:28:08 +0000
commit7deb477d387ff85bcc049f728ca68bf98aa60fc4 (patch)
tree51b7755ab895e6cbc650923dcc2283d7889b6f4c /libs/gui/DisplayEventDispatcher.cpp
parentbf02db30024b730c1115d8e532c030c4fca6e626 (diff)
parent4879d8144abedcc77d9c42186b20ff0557bdca2a (diff)
Merge changes from topic "choreo"
* changes: Choreographer: add new NDK APIs for callback data. Plumb expected present time to Choreographer.
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);