Index: src/gpu/batches/GrAtlasTextBatch.h |
diff --git a/src/gpu/batches/GrAtlasTextBatch.h b/src/gpu/batches/GrAtlasTextBatch.h |
index 63dfa30e6bb53076bc89fbd262c97c8ac8c7ad92..5997d4916781cd56abe2093d6d997fe62d3f3b20 100644 |
--- a/src/gpu/batches/GrAtlasTextBatch.h |
+++ b/src/gpu/batches/GrAtlasTextBatch.h |
@@ -170,12 +170,12 @@ private: |
kLCDDistanceField_MaskType == fMaskType; |
} |
- inline void regenerateTextureCoords(GrGlyph* glyph, intptr_t vertex, size_t vertexStride); |
- |
- inline void regenerateColors(intptr_t vertex, size_t vertexStride, GrColor color); |
- |
- inline void regeneratePositions(intptr_t vertex, size_t vertexStride, SkScalar transX, |
- SkScalar transY); |
+ template <bool regenTexCoords, bool regenPos, bool regenCol, bool regenGlyphs> |
+ inline void regenBlob(Target* target, FlushInfo* flushInfo, Blob* blob, Run* run, |
+ TextInfo* info, SkGlyphCache** cache, |
+ SkTypeface** typeface, GrFontScaler** scaler, const SkDescriptor** desc, |
+ const GrGeometryProcessor* gp, int glyphCount, size_t vertexStride, |
+ GrColor color, SkScalar transX, SkScalar transY); |
inline void flush(GrVertexBatch::Target* target, FlushInfo* flushInfo); |