aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/gpu/text/GrTextUtils.h
diff options
context:
space:
mode:
authorGravatar joshualitt <joshualitt@chromium.org>2016-02-16 11:09:25 -0800
committerGravatar Commit bot <commit-bot@chromium.org>2016-02-16 11:09:25 -0800
commit8e84a1ed07ad5d529d381d43302e597f31723076 (patch)
tree7ec66370a27dc047a86fb5501ef0c81d8718ac82 /src/gpu/text/GrTextUtils.h
parent546d66544bcfac4bc9e77626ba549c4b3a79a654 (diff)
Delete GrTextContext
Diffstat (limited to 'src/gpu/text/GrTextUtils.h')
-rw-r--r--src/gpu/text/GrTextUtils.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/gpu/text/GrTextUtils.h b/src/gpu/text/GrTextUtils.h
index d6b7e94ea2..096434b69f 100644
--- a/src/gpu/text/GrTextUtils.h
+++ b/src/gpu/text/GrTextUtils.h
@@ -81,6 +81,12 @@ public:
const char text[], size_t byteLength,
const SkScalar pos[], int scalarsPerPosition,
const SkPoint& offset, const SkIRect& clipBounds);
+
+ static bool ShouldDisableLCD(const SkPaint& paint);
+
+ static GrFontScaler* GetGrFontScaler(SkGlyphCache* cache);
+ static uint32_t FilterTextFlags(const SkSurfaceProps& surfaceProps, const SkPaint& paint);
+
private:
static void InitDistanceFieldPaint(GrAtlasTextBlob* blob,
SkPaint* skPaint,