summaryrefslogtreecommitdiff
path: root/libs/gui/BufferQueueThreadState.cpp
diff options
context:
space:
mode:
author Jorim Jaggi <jjaggi@google.com> 2021-01-14 23:44:15 +0100
committer Jorim Jaggi <jjaggi@google.com> 2021-02-12 12:41:01 +0000
commitf51775dbb66ff8ee2254ec06d5d5668d8791d8dc (patch)
tree1708ccd8ef13f85ed863c5c0e4d7a1119af9a971 /libs/gui/BufferQueueThreadState.cpp
parente06403fa179494d6c5cafd0b4ffce767413eb14c (diff)
Add GPU completion to FrameMetrics (2/3)
- Add SurfaceStatsCallback to TransactionCompletedListener - Register a callback in RenderProxy to be called when we have surface stats from SF via the BLAST callback. - Instead of finishing a frame for frame metrics reporting immediately, wait until BLAST callback fires, note GPU completion time and finish frame. - Expose GPU_COMPLETION in FrameMetrics - Modify TOTAL_DURATION to also include GPU_COMPLETION Test: FrameMetricsListenerTest Fixes: 171046219 Change-Id: If4b63c6a4c49c9ce2f31410d7f33541b0e6bf594
Diffstat (limited to 'libs/gui/BufferQueueThreadState.cpp')
0 files changed, 0 insertions, 0 deletions