diff options
author | 2021-11-03 15:04:18 -0400 | |
---|---|---|
committer | 2021-11-08 09:30:45 -0500 | |
commit | b76f17d5f71e03f86a0f9ee05cc4614bb4461dce (patch) | |
tree | 95ee63aebe53a9bc67bf2fb9b774fa052cce843f /libs/gui/DisplayEventDispatcher.cpp | |
parent | 8fcfa66dbb2d75b8bfeaa5168aebe94b93fd8229 (diff) |
sf-latency: Wait on fence after each drawLayers call
Bug: 193240340
Test: this
Previously, the benchmark simply passed the fence to the next call,
meaning that the next drawLayers could start before the GPU was
finished. Explicitly wait for it inside the benchmark, so that we'll
time both CPU and GPU work.
Add comments describing such.
Change-Id: I7f34636d6b3701b71eaa8d8435e947e258d2fa67
Diffstat (limited to 'libs/gui/DisplayEventDispatcher.cpp')
0 files changed, 0 insertions, 0 deletions