diff options
author | Herb Derby <herb@google.com> | 2018-06-07 12:44:09 -0400 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2018-06-08 19:25:43 +0000 |
commit | 59d997a6e1d32f2d0a3021931aed87984d15a7ee (patch) | |
tree | e5f920dc6f1b33b4fcde0f1058738512e376021b /include/core | |
parent | f0aacafe9e7a74475493c71c4c3679e80a8b2a82 (diff) |
New more efficient run builder
A system for building glyph runs. In the future the builder will
only live in canvas, but it's internal structures facilitate
interacting with the cache a single glyph at a time. When all
the bulk code is in place, only runs will be passed around.
Passing the builder down the text draw stack is temporary.
Change-Id: I6e3ed184b3f3a58b919377f2d31936e971bd8efa
Reviewed-on: https://skia-review.googlesource.com/132928
Reviewed-by: Herb Derby <herb@google.com>
Reviewed-by: Mike Klein <mtklein@google.com>
Commit-Queue: Herb Derby <herb@google.com>
Diffstat (limited to 'include/core')
-rw-r--r-- | include/core/SkCanvas.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/core/SkCanvas.h b/include/core/SkCanvas.h index a57d00c0b9..d3b2e5890e 100644 --- a/include/core/SkCanvas.h +++ b/include/core/SkCanvas.h @@ -36,7 +36,7 @@ class SkDraw; class SkDrawable; class SkDrawFilter; struct SkDrawShadowRec; -class SkGlyphSet; +class SkGlyphRunBuilder; class SkImage; class SkImageFilter; class SkMetaData; @@ -2720,7 +2720,7 @@ private: void validateClip() const {} #endif - std::unique_ptr<SkGlyphSet> fScratchGlyphSet; + std::unique_ptr<SkGlyphRunBuilder> fScratchGlyphRunBuilder; typedef SkRefCnt INHERITED; }; |