diff options
author | Herb Derby <herb@google.com> | 2018-07-28 18:07:54 -0400 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2018-07-31 13:52:20 +0000 |
commit | 74c6ed3d1f179209ec90025532310d9c8151999f (patch) | |
tree | 2d20cc433c2136b8a1832698e9c14118615696dc /src/gpu/text/GrTextContext.h | |
parent | 0bf5408286ea3dacb197c220e1033dea3eeef2a8 (diff) |
Move one leaf loop from GPU to glyph drawer
Encapsulate the bitmap inner loop of regenerate in the
SkGlyphRunListDrawer. This changed required placing an
SkGlyphRunListDrawer in the two TextTargets.
Change-Id: I7ef7a2d0074fe898fce4da82d26ea1f47e1f7a98
Reviewed-on: https://skia-review.googlesource.com/144302
Reviewed-by: Jim Van Verth <jvanverth@google.com>
Reviewed-by: Brian Salomon <bsalomon@google.com>
Commit-Queue: Herb Derby <herb@google.com>
Diffstat (limited to 'src/gpu/text/GrTextContext.h')
-rw-r--r-- | src/gpu/text/GrTextContext.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gpu/text/GrTextContext.h b/src/gpu/text/GrTextContext.h index 2794a84b82..908e6419b8 100644 --- a/src/gpu/text/GrTextContext.h +++ b/src/gpu/text/GrTextContext.h @@ -158,7 +158,8 @@ private: SkScalerContextFlags scalerContextFlags, const SkMatrix& viewMatrix, const SkSurfaceProps&, - const SkGlyphRunList& glyphRunList) const; + const SkGlyphRunList& glyphRunList, + SkGlyphRunListDrawer* glyphDrawer); sk_sp<GrTextBlob> makeDrawPosTextBlob(GrTextBlobCache*, GrGlyphCache*, const GrShaderCaps&, |