commit | cdf4dc04d06e0ea9c45fa9ce23b89c0ce672e328 | [log] [tgz] |
---|---|---|
author | Diego Perez <diegoperez@google.com> | Thu Sep 24 14:52:59 2015 +0100 |
committer | Diego Perez <diegoperez@google.com> | Wed Sep 30 09:10:37 2015 +0100 |
tree | 5f29563c129df29d524f7ae38544830a1bff1884 | |
parent | 37e93696222aed44026f6423dd05ebc7c3c72b71 [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