Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(131)

Unified Diff: src/core/SkGlyph.h

Issue 227593010: Move distance field generation to the glyph cache (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Move GrFontScaler back to public interface Created 6 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/core/SkDistanceFieldGen.cpp ('k') | src/core/SkGlyphCache.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/core/SkGlyph.h
diff --git a/src/core/SkGlyph.h b/src/core/SkGlyph.h
index 649fa7dd5db658809fed657096ff11d1ab18145e..73afb132d64910306bf0297c1cb5d28fec1145aa 100644
--- a/src/core/SkGlyph.h
+++ b/src/core/SkGlyph.h
@@ -29,6 +29,7 @@ struct SkGlyph {
uint16_t fWidth, fHeight;
int16_t fTop, fLeft;
+ void* fDistanceField;
uint8_t fMaskFormat;
int8_t fRsbDelta, fLsbDelta; // used by auto-kerning
@@ -36,6 +37,7 @@ struct SkGlyph {
fID = id;
fImage = NULL;
fPath = NULL;
+ fDistanceField = NULL;
fMaskFormat = MASK_FORMAT_UNKNOWN;
}
« no previous file with comments | « src/core/SkDistanceFieldGen.cpp ('k') | src/core/SkGlyphCache.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698