Index: src/gpu/GrStencilAndCoverTextContext.h |
diff --git a/src/gpu/GrStencilAndCoverTextContext.h b/src/gpu/GrStencilAndCoverTextContext.h |
index c5c29ad86f6f20a9eceb588015f1364888127786..9e85e89c8820a1c9576f12abac0452f72799f1fb 100644 |
--- a/src/gpu/GrStencilAndCoverTextContext.h |
+++ b/src/gpu/GrStencilAndCoverTextContext.h |
@@ -45,6 +45,8 @@ private: |
const SkScalar pos[], int scalarsPerPosition, |
const SkPoint& offset, const SkIRect& regionClipBounds) override; |
+ class FallbackBlobBuilder; |
+ |
class TextRun { |
public: |
TextRun(const SkPaint& fontAndStroke); |
@@ -64,7 +66,7 @@ private: |
private: |
GrPathRange* createGlyphs(GrContext*, SkGlyphCache*); |
- void appendGlyph(const SkGlyph&, const SkPoint&); |
+ void appendGlyph(const SkGlyph&, const SkPoint&, FallbackBlobBuilder*); |
GrStrokeInfo fStroke; |
SkPaint fFont; |
@@ -73,8 +75,7 @@ private: |
SkMatrix fLocalMatrix; |
bool fUsingRawGlyphPaths; |
SkAutoTUnref<GrPathRangeDraw> fDraw; |
- SkSTArray<32, uint16_t, true> fFallbackIndices; |
- SkSTArray<32, SkPoint, true> fFallbackPositions; |
+ SkAutoTUnref<const SkTextBlob> fFallbackTextBlob; |
}; |
typedef GrTextContext INHERITED; |