commit | 5c9c960e051de0dbdcf6dda1454546a678d5758d | [log] [tgz] |
---|---|---|
author | Alec Mouri <alecmouri@google.com> | Tue Sep 01 15:10:40 2020 -0700 |
committer | Alec Mouri <alecmouri@google.com> | Tue Sep 01 15:10:40 2020 -0700 |
tree | 8d439bb519afbeff5d9658047f9de94e1b7f4c12 | |
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