Index: src/gpu/text/GrTextUtils.h |
diff --git a/src/gpu/text/GrTextUtils.h b/src/gpu/text/GrTextUtils.h |
index 096434b69f94a9f70c3c767745e9d863b4e43872..52b3ab4c54f60d5db6ef917562b4089cda4094ef 100644 |
--- a/src/gpu/text/GrTextUtils.h |
+++ b/src/gpu/text/GrTextUtils.h |
@@ -9,6 +9,7 @@ |
#define GrTextUtils_DEFINED |
#include "GrColor.h" |
+#include "SkPaint.h" |
#include "SkScalar.h" |
class GrAtlasTextBlob; |
@@ -22,7 +23,6 @@ class GrShaderCaps; |
class SkGlyph; |
class SkMatrix; |
struct SkIRect; |
-class SkPaint; |
struct SkPoint; |
class SkGlyphCache; |
class SkSurfaceProps; |
@@ -38,13 +38,13 @@ public: |
static void DrawBmpText(GrAtlasTextBlob*, int runIndex, |
GrBatchFontCache*, const SkSurfaceProps&, |
const SkPaint&, |
- GrColor, const SkMatrix& viewMatrix, |
+ GrColor, SkPaint::FakeGamma, const SkMatrix& viewMatrix, |
const char text[], size_t byteLength, |
SkScalar x, SkScalar y); |
static void DrawBmpPosText(GrAtlasTextBlob*, int runIndex, |
GrBatchFontCache*, const SkSurfaceProps&, const SkPaint&, |
- GrColor, const SkMatrix& viewMatrix, |
+ GrColor, SkPaint::FakeGamma, const SkMatrix& viewMatrix, |
const char text[], size_t byteLength, |
const SkScalar pos[], int scalarsPerPosition, |
const SkPoint& offset); |
@@ -55,14 +55,14 @@ public: |
static void DrawDFText(GrAtlasTextBlob* blob, int runIndex, |
GrBatchFontCache*, const SkSurfaceProps&, |
- const SkPaint& skPaint, GrColor color, |
+ const SkPaint& skPaint, GrColor color, SkPaint::FakeGamma, |
const SkMatrix& viewMatrix, |
const char text[], size_t byteLength, |
SkScalar x, SkScalar y); |
static void DrawDFPosText(GrAtlasTextBlob* blob, int runIndex, |
GrBatchFontCache*, const SkSurfaceProps&, const SkPaint&, |
- GrColor color, const SkMatrix& viewMatrix, |
+ GrColor color, SkPaint::FakeGamma, const SkMatrix& viewMatrix, |
const char text[], size_t byteLength, |
const SkScalar pos[], int scalarsPerPosition, |
const SkPoint& offset); |