summaryrefslogtreecommitdiff
path: root/libs/gui/BufferQueueThreadState.cpp
diff options
context:
space:
mode:
author Robert Carr <racarr@google.com> 2021-05-17 12:08:20 -0700
committer Robert Carr <racarr@google.com> 2021-06-18 11:40:34 -0700
commit6a160319a4f4923bb35d6c3b586d1d7a22ec6fa6 (patch)
treebb04ee382a98cee2db92ffc67aadd1937901d7ef /libs/gui/BufferQueueThreadState.cpp
parenta785b9a9c362954c3d136cba1f30ff4bd9edf49c (diff)
Start removing Current state
Now that we only write to current state from the main thread we can actually just write directly in to drawing state and avoid copying current to drawing state on each frame. simpleperf on bouncing ball indicates this was saving around 8% CPU or so per frame. As a next target we will eliminate the remaining work in doTransaction and eliminate the doTransaction pass. Test: Existing tests pass. simpleperf Bug: 186200583 Change-Id: I59b75747d7371b3ffe870129c8be100c7daa6c4e
Diffstat (limited to 'libs/gui/BufferQueueThreadState.cpp')
0 files changed, 0 insertions, 0 deletions