diff options
author | 2015-09-01 12:32:24 -0700 | |
---|---|---|
committer | 2015-09-01 12:32:24 -0700 | |
commit | 518a2923f11b819fa44ed5cff54155326959540f (patch) | |
tree | 00d70a7cc7549bdddd462c4b557f728e1290b15c /src/core/SkColorTable.cpp | |
parent | 86e90fafe17321964d975e9a6e2f242df280e74e (diff) |
Stop 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:
Review URL: https://codereview.chromium.org/1321243004
Diffstat (limited to 'src/core/SkColorTable.cpp')
0 files changed, 0 insertions, 0 deletions