Index: src/gpu/text/GrAtlasTextContext.h |
diff --git a/src/gpu/text/GrAtlasTextContext.h b/src/gpu/text/GrAtlasTextContext.h |
index 3971352e96d7bf112af30bd4c31c044e261c5479..e38243d4805d5e469df07fa7e93776b43081688b 100644 |
--- a/src/gpu/text/GrAtlasTextContext.h |
+++ b/src/gpu/text/GrAtlasTextContext.h |
@@ -74,13 +74,13 @@ |
const SkPoint& offset); |
void internalDrawDFText(GrAtlasTextBlob*, int runIndex, |
- const SkPaint&, |
+ SkGlyphCache*, const SkPaint&, |
GrColor color, const SkMatrix& viewMatrix, |
const char text[], size_t byteLength, |
SkScalar x, SkScalar y, |
SkScalar textRatio, const SkPaint& origPaint); |
void internalDrawDFPosText(GrAtlasTextBlob*, int runIndex, |
- const SkPaint&, |
+ SkGlyphCache*, const SkPaint&, |
GrColor color, const SkMatrix& viewMatrix, |
const char text[], size_t byteLength, |
const SkScalar pos[], int scalarsPerPosition, |
@@ -90,6 +90,7 @@ |
// sets up the descriptor on the blob and returns a detached cache. Client must attach |
inline static GrColor ComputeCanonicalColor(const SkPaint&, bool lcd); |
+ inline SkGlyphCache* setupCache(Run*, const SkPaint&, const SkMatrix* viewMatrix, bool noGamma); |
void regenerateTextBlob(GrAtlasTextBlob* bmp, const SkPaint& skPaint, GrColor, |
const SkMatrix& viewMatrix, |
const SkTextBlob* blob, SkScalar x, SkScalar y, |