diff options
| author | 2020-09-01 15:10:40 -0700 | |
|---|---|---|
| committer | 2020-09-01 15:10:40 -0700 | |
| commit | 5c9c960e051de0dbdcf6dda1454546a678d5758d (patch) | |
| tree | 8d439bb519afbeff5d9658047f9de94e1b7f4c12 /services/inputflinger/InputManager.cpp | |
| parent | 7c6e5687791492c3cd320135e4f166076c72e0a3 (diff) | |
Change mLayersWithQueuedFrames to be an unordered_set
It was possible for mLayersWithQueuedFrames to grow unbounded for very
long GPU work, which causes additional calls into the kernel in
latchBuffer() to repeatedly call into the kernel to check the status of
the same fence. Instead, mLayersWithQueuedFrames should be a set so that
duplicate layers are skipped.
Fixes: 167300366
Test: systrace
Change-Id: I0c54ea6265ce901192e430c8f446a04547e1b833
Diffstat (limited to 'services/inputflinger/InputManager.cpp')
0 files changed, 0 insertions, 0 deletions