commit | 554d06e1a8c010c21937960cbb1575aadef3525e | [log] [tgz] |
---|---|---|
author | Alec Mouri <alecmouri@google.com> | Thu Dec 20 00:15:33 2018 -0800 |
committer | Alec Mouri <alecmouri@google.com> | Tue Jan 08 12:45:05 2019 -0800 |
tree | 237c2bd01fa7122a6c556d2907f71cf882bbe1c5 | |
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