commit | bdda8f08e38620b071d1c77e8345b141f7fcedfe | [log] [tgz] |
---|---|---|
author | Ady Abraham <adyabr@google.com> | Thu Apr 01 16:06:11 2021 -0700 |
committer | Ady Abraham <adyabr@google.com> | Tue Apr 06 01:21:30 2021 +0000 |
tree | f14160f18807dbc693a2d268d4cc5fd68c322d43 | |
parent | 6c1b7aca75e3fb0d45789b15007202493de6bc3d [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