summaryrefslogtreecommitdiff
path: root/libs/gui/BufferQueueThreadState.cpp
diff options
context:
space:
mode:
author Ady Abraham <adyabr@google.com> 2021-04-01 16:06:11 -0700
committer Ady Abraham <adyabr@google.com> 2021-04-06 01:21:30 +0000
commitbdda8f08e38620b071d1c77e8345b141f7fcedfe (patch)
treef14160f18807dbc693a2d268d4cc5fd68c322d43 /libs/gui/BufferQueueThreadState.cpp
parent6c1b7aca75e3fb0d45789b15007202493de6bc3d (diff)
SF: remove wp<Layer> from LayerHistory
wp::promote has a significant performace impact. Instead we maintain a copy of the relevant layer information in LayerInfo. This shows reduction in simpleperf for the main thread 3.07% -> 0.81% Test: simpleperf for PIP + Notification shade expansion Test: atest SetFrameRateTest Bug: 169873384 Change-Id: Ib1414a2db73a4c30a26379a0ba8ba9e639f920ce
Diffstat (limited to 'libs/gui/BufferQueueThreadState.cpp')
0 files changed, 0 insertions, 0 deletions