commit | d4742fa550bafce5225cd267437eadef177c5945 | [log] [tgz] |
---|---|---|
author | bungeman <bungeman@google.com> | Wed Jan 21 11:19:22 2015 -0800 |
committer | Commit bot <commit-bot@chromium.org> | Wed Jan 21 11:19:22 2015 -0800 |
tree | 73006ef5ff0e8255df4a3ddb012a0c24442c18ed | |
parent | b77e4b6bf08b1619982d0a835ab4daf693aefcb6 [diff] |
Reduce overhead of SkFontHost_FreeType::onFilterRec. The current code is using AutoFTAccess just to access the FT_Library. However, it does not need to resolve the FT_Face, just the FT_Library. This unecessary overhead and is removed by this change. The longer term solution is for SkFontMgr to initialize FreeType. Review URL: https://codereview.chromium.org/835583003