Index: src/gpu/GrAtlasTextBlob.h |
diff --git a/src/gpu/GrAtlasTextBlob.h b/src/gpu/GrAtlasTextBlob.h |
index 15b5a12b3545b2cd7c834a11a096d1dd82140027..d7e2e4451ea14c9295440ee0d813af0a83e50e90 100644 |
--- a/src/gpu/GrAtlasTextBlob.h |
+++ b/src/gpu/GrAtlasTextBlob.h |
@@ -280,11 +280,18 @@ struct GrAtlasTextBlob : public SkNVRefCnt<GrAtlasTextBlob> { |
} |
} |
+ // Appends a glyph to the blob. If the glyph is too large, the glyph will be appended |
+ // as a path. |
void appendGlyph(int runIndex, |
const SkRect& positions, |
GrColor color, |
GrBatchTextStrike* strike, |
- GrGlyph* glyph); |
+ GrGlyph* glyph, |
+ GrFontScaler* scaler, const SkGlyph& skGlyph, |
+ SkScalar x, SkScalar y, SkScalar scale, bool applyVM); |
+ |
+ void appendLargeGlyph(GrGlyph* glyph, GrFontScaler* scaler, const SkGlyph& skGlyph, |
bsalomon
2015/12/09 20:49:41
can this be private? otherwise lgtm
|
+ SkScalar x, SkScalar y, SkScalar scale, bool applyVM); |
static size_t GetVertexStride(GrMaskFormat maskFormat) { |
switch (maskFormat) { |