commit | 799a23cf0602b9ab75a5c591db63382ac0d392e1 | [log] [tgz] |
---|---|---|
author | Herb Derby <herb@google.com> | Tue Feb 18 00:03:28 2020 -0500 |
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | Tue Feb 18 23:52:35 2020 +0000 |
tree | 8fdd418079f2030066b26e3c709dec79e99b7053 | |
parent | fe6fe6c5a8a87d42978dafdddb1119de8c98a216 [diff] |
Have SkScalerCache return memory used The SkScalerCache now returns the amount of memory allocated for each operation. The SkStrikeCache can now start using this information to track cache size. Change-Id: Ie0e8138015c6692257126a7bb02a3773b10a7b0a Reviewed-on: https://skia-review.googlesource.com/c/skia/+/271476 Reviewed-by: Ben Wagner <bungeman@google.com> Commit-Queue: Herb Derby <herb@google.com>