diff options
author | Herb Derby <herb@google.com> | 2018-04-18 11:36:12 -0400 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2018-04-18 22:07:13 +0000 |
commit | fa996908466f96ab21908258283995ccec40f2a5 (patch) | |
tree | 40bdfee106e42794fd7595207e974a2a6a4816e5 /src/core/SkDraw.cpp | |
parent | 881091f62ea5bbcc8c9f856c12aef3c74f9bf991 (diff) |
Move strike cache Find*() to strike cache
BUG=skia:7515
Change-Id: Ic1580d4752d51a62df5427a28f843bc7b3181797
Reviewed-on: https://skia-review.googlesource.com/122020
Commit-Queue: Herb Derby <herb@google.com>
Reviewed-by: Mike Klein <mtklein@chromium.org>
Diffstat (limited to 'src/core/SkDraw.cpp')
-rw-r--r-- | src/core/SkDraw.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/core/SkDraw.cpp b/src/core/SkDraw.cpp index f205080c25..71d0d13463 100644 --- a/src/core/SkDraw.cpp +++ b/src/core/SkDraw.cpp @@ -1543,7 +1543,7 @@ void SkDraw::drawText(const char text[], size_t byteLength, SkScalar x, SkScalar return; } - auto cache = SkGlyphCache::FindOrCreateStrikeExclusive( + auto cache = SkStrikeCache::FindOrCreateStrikeExclusive( paint, props, this->scalerContextFlags(), fMatrix); // The Blitter Choose needs to be live while using the blitter below. @@ -1575,7 +1575,7 @@ void SkDraw::drawPosText_asPaths(const char text[], size_t byteLength, const SkS SkPaint::GlyphCacheProc glyphCacheProc = SkPaint::GetGlyphCacheProc(paint.getTextEncoding(), paint.isDevKernText(), true); - auto cache = SkGlyphCache::FindOrCreateStrikeExclusive( + auto cache = SkStrikeCache::FindOrCreateStrikeExclusive( paint, props, this->scalerContextFlags(), nullptr); const char* stop = text + byteLength; @@ -1623,7 +1623,7 @@ void SkDraw::drawPosText(const char text[], size_t byteLength, const SkScalar po return; } - auto cache = SkGlyphCache::FindOrCreateStrikeExclusive( + auto cache = SkStrikeCache::FindOrCreateStrikeExclusive( paint, props, this->scalerContextFlags(), fMatrix); // The Blitter Choose needs to be live while using the blitter below. |