DescriptionStop using SkScalerContext::getAdvance() in SkGlyphCache.
We think it'll simplify things to just always get the full metrics.
On most platforms, it's no different, and we think the platforms that
do differ (FreeType) will be nearly just as cheap.
Removing this distinction helps us make SkGlyphCaches concurrent by
removing a state (we-have-only-advances) from its logical state machine.
We see no significant changes running SKPs before and after this CL.
That makes sense, of course, because the SKPs bake some of this into drawPosText.
BUG=skia:
Committed: https://skia.googlesource.com/skia/+/518a2923f11b819fa44ed5cff54155326959540f
Patch Set 1 #
Total comments: 2
Patch Set 2 : comment #
Messages
Total messages: 17 (5 generated)
|