Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 5c9c960e authored by Alec Mouri's avatar Alec Mouri
Browse files

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
parent 7c6e5687
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment