DescriptionReduce 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.
Committed: https://skia.googlesource.com/skia/+/d4742fa550bafce5225cd267437eadef177c5945
Patch Set 1 #
Total comments: 1
Messages
Total messages: 8 (2 generated)
|