aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/gpu/GrDistanceFieldTextContext.h
diff options
context:
space:
mode:
authorGravatar jvanverth <jvanverth@google.com>2014-12-04 10:46:50 -0800
committerGravatar Commit bot <commit-bot@chromium.org>2014-12-04 10:46:52 -0800
commit787cdf9ab06c5afc6fe480ab88268e983505bd32 (patch)
tree2bc8edf88bcff616bef07a40f7a193db37241ab1 /src/gpu/GrDistanceFieldTextContext.h
parent32fee2907e2109ef420c3fec5f44e655ebc55c2a (diff)
Ganesh text rendering cleanup.
Rename GrTextStrike.{cpp.h} to GrFontCache.{cpp,h} Move contents of GrTextStrike_impl.h to GrFontCache.h Move glyph uploading to a separate function and remove harmful gotos Add assert on glyph upload failure (shouldn't happen) Review URL: https://codereview.chromium.org/780923002
Diffstat (limited to 'src/gpu/GrDistanceFieldTextContext.h')
-rw-r--r--src/gpu/GrDistanceFieldTextContext.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gpu/GrDistanceFieldTextContext.h b/src/gpu/GrDistanceFieldTextContext.h
index 1f07a8ae4e..66774bd015 100644
--- a/src/gpu/GrDistanceFieldTextContext.h
+++ b/src/gpu/GrDistanceFieldTextContext.h
@@ -60,6 +60,7 @@ private:
void init(const GrPaint&, const SkPaint&);
bool appendGlyph(GrGlyph::PackedID, SkScalar left, SkScalar top, GrFontScaler*);
+ bool uploadGlyph(GrGlyph*, GrFontScaler*);
void setupCoverageEffect(const SkColor& filteredColor);
void flush(); // automatically called by destructor
void finish();