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

Unified Diff: include/gpu/GrFontScaler.h

Issue 227593010: Move distance field generation to the glyph cache (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Re-disable distance fields 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 | « no previous file | include/gpu/SkGr.h » ('j') | include/gpu/SkGr.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: include/gpu/GrFontScaler.h
diff --git a/include/gpu/GrFontScaler.h b/include/gpu/GrFontScaler.h
index d307cabb429e056db99dfe54e3df628e5dc8549e..266a092204613ecb733735049b73b3bfcf344d79 100644
--- a/include/gpu/GrFontScaler.h
+++ b/include/gpu/GrFontScaler.h
@@ -29,6 +29,10 @@ public:
virtual bool getPackedGlyphBounds(GrGlyph::PackedID, SkIRect* bounds) = 0;
virtual bool getPackedGlyphImage(GrGlyph::PackedID, int width, int height,
int rowBytes, void* image) = 0;
+ // distance field support
+ virtual bool getPackedGlyphDFBounds(GrGlyph::PackedID, SkIRect* bounds) = 0;
+ virtual bool getPackedGlyphDFImage(GrGlyph::PackedID, int width, int height,
robertphillips 2014/04/11 14:13:00 dfImage
jvanverth1 2014/04/11 17:54:14 Done.
+ int rowBytes, void* dfimage) = 0;
virtual bool getGlyphPath(uint16_t glyphID, SkPath*) = 0;
private:
« no previous file with comments | « no previous file | include/gpu/SkGr.h » ('j') | include/gpu/SkGr.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698