diff options
author | joshualitt <joshualitt@chromium.org> | 2016-02-16 11:09:25 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-02-16 11:09:25 -0800 |
commit | 8e84a1ed07ad5d529d381d43302e597f31723076 (patch) | |
tree | 7ec66370a27dc047a86fb5501ef0c81d8718ac82 /src/gpu/text/GrTextUtils.h | |
parent | 546d66544bcfac4bc9e77626ba549c4b3a79a654 (diff) |
Delete GrTextContext
TBR=bsalomon@google.com
BUG=skia:
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1699073004
Review URL: https://codereview.chromium.org/1699073004
Diffstat (limited to 'src/gpu/text/GrTextUtils.h')
-rw-r--r-- | src/gpu/text/GrTextUtils.h | 6 |
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, |