diff options
| author | 2018-12-20 00:15:33 -0800 | |
|---|---|---|
| committer | 2019-01-08 12:45:05 -0800 | |
| commit | 554d06e1a8c010c21937960cbb1575aadef3525e (patch) | |
| tree | 237c2bd01fa7122a6c556d2907f71cf882bbe1c5 /vulkan/libvulkan/api.cpp | |
| parent | 83da23586be6bf255ffd2aee9686623463e0ce6b (diff) | |
Add tracing thread in RenderEngine.
Times GPU work done by RenderEngine by creating sync fences during
flush() and finish() calls, asynchronously waits, and writes to
systrace.
As implemented here a frame is double-reported because SurfaceFlinger
calls flush an extra time, but we should get rid of that call anyways.
Bug: 120992906
Test: systrace
Change-Id: I6e1446fdf389157bfd533a96263c8e0cd1ed8514
Diffstat (limited to 'vulkan/libvulkan/api.cpp')
0 files changed, 0 insertions, 0 deletions