commit | 70bb80802198b7fedee58f79d0d68d5f8aba8b62 | [log] [tgz] |
---|---|---|
author | bungeman <bungeman@google.com> | Wed Feb 17 10:13:49 2016 -0800 |
committer | Commit bot <commit-bot@chromium.org> | Wed Feb 17 10:13:49 2016 -0800 |
tree | 3363569b449e26baef43a28fa2fed1ff33cabe0f | |
parent | 8715d47e247bf890ee78af0774ae7e8698146b67 [diff] |
Add request cache to SkFontHost_fontconfig. The current code deduplicates SkTypeface instances as all font lookups should for better use of the glyph cache. This adds a request cache as well, so that repeated recent requests will return the cached result instead of doing a full lookup. BUG=chromium:424082, chromium:444894 Review URL: https://codereview.chromium.org/1683883002