diff options
| author | 2021-01-14 23:44:15 +0100 | |
|---|---|---|
| committer | 2021-02-12 12:41:01 +0000 | |
| commit | f51775dbb66ff8ee2254ec06d5d5668d8791d8dc (patch) | |
| tree | 1708ccd8ef13f85ed863c5c0e4d7a1119af9a971 /libs/gui/BufferQueueThreadState.cpp | |
| parent | e06403fa179494d6c5cafd0b4ffce767413eb14c (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