aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/SkScalar.cpp
diff options
context:
space:
mode:
authorGravatar mtklein <mtklein@chromium.org>2015-09-01 12:32:24 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2015-09-01 12:32:24 -0700
commit518a2923f11b819fa44ed5cff54155326959540f (patch)
tree00d70a7cc7549bdddd462c4b557f728e1290b15c /src/core/SkScalar.cpp
parent86e90fafe17321964d975e9a6e2f242df280e74e (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/SkScalar.cpp')
0 files changed, 0 insertions, 0 deletions