diff options
author | Stan Iliev <stani@google.com> | 2017-12-08 11:32:12 -0500 |
---|---|---|
committer | Stan Iliev <stani@google.com> | 2017-12-08 11:38:35 -0500 |
commit | f563833993c10a28f19500851556a9339c35162e (patch) | |
tree | 314ecf9da7b2789d39fdc576c8dc3dfa72698485 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 1f272d89e3cf850965fc0db30f1ae3614a1892b9 (diff) |
Optimize Outline::setRoundRect
Reuse Outline internal memory if the new shape has the same
memory requirement as the previous outline.
Bug: 69849202
Test: Ran APCT, setOutline_mean decreased from ~1400 to ~1000
Change-Id: Ie0185d22122c3c17cb001316ff5a19a833f18f05
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions