summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator.cpp
diff options
context:
space:
mode:
authorDiego Perez <diegoperez@google.com>2015-09-24 14:52:59 +0100
committerDiego Perez <diegoperez@google.com>2015-09-30 09:10:37 +0100
commit6dac0d4b7c55da32cb5deb9b589b1acb43cb536d (patch)
treefd8c78b74775fa336da52175a26d3aa089ce7925 /tools/aapt2/java/JavaClassGenerator.cpp
parent2bc3ff3cf6b692a4bd69d75cb3e11fc0b0b063fe (diff)
Reduce the amount of allocations on Paint_Delegate
When the text properties of the Paint object are updated, or when .set() is called, updateFontObject will be called. This method is currently at the top of the methods for number of allocations. This CL reduces the number of calls to updateFontObject by a 90%, reducing the number of Font allocations. Change-Id: I3e232f9e6e230da8ecdd19921faadf2d3f4ff763
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions