summaryrefslogtreecommitdiff
path: root/libs/gui/ConsumerBase.cpp
diff options
context:
space:
mode:
author Brian Anderson <brianderson@google.com> 2016-12-07 14:55:56 -0800
committer Brian Anderson <brianderson@google.com> 2017-02-13 16:01:47 -0800
commit0a61b0c813f5991bf462e36a2314dda062727a10 (patch)
tree4987f8f0e07bcda8e1dda882ebb6f4d6151c6107 /libs/gui/ConsumerBase.cpp
parent1049d1d0b21ee318e309f9a90098c092cb879c41 (diff)
EGL: Add eglGetCompositorTimingANDROID.
Exposes the composite deadline, composite interval, and the composite to present latency. A history of composite and present fences are stored. When the present fence's timestamp becomes known, the composite to present latency is updated with sampling jitter removed. The values are updated in the producer when timestamps are enabled and on queue and dequeue. The deadline is snapped to the next expected deadline based on the current systemTime(). Test: adb shell /data/nativetest/libgui_test/libgui_test --gtest_filter=*GetFrameTimestamps* Change-Id: I406814258613b984b56488236632494f2f61ff2e
Diffstat (limited to 'libs/gui/ConsumerBase.cpp')
0 files changed, 0 insertions, 0 deletions