aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/gpu/GrStencilAndCoverTextContext.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gpu/GrStencilAndCoverTextContext.h')
-rw-r--r--src/gpu/GrStencilAndCoverTextContext.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/gpu/GrStencilAndCoverTextContext.h b/src/gpu/GrStencilAndCoverTextContext.h
index c5c29ad86f..9e85e89c88 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;