aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/gpu/GrFontScaler.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gpu/GrFontScaler.h')
-rw-r--r--src/gpu/GrFontScaler.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gpu/GrFontScaler.h b/src/gpu/GrFontScaler.h
index 1dc5584c92..e42c7a1da0 100644
--- a/src/gpu/GrFontScaler.h
+++ b/src/gpu/GrFontScaler.h
@@ -52,7 +52,8 @@ public:
GrMaskFormat getMaskFormat() const;
GrMaskFormat getPackedGlyphMaskFormat(const SkGlyph&) const;
bool getPackedGlyphBounds(const SkGlyph&, SkIRect* bounds);
- bool getPackedGlyphImage(const SkGlyph&, int width, int height, int rowBytes, void* image);
+ bool getPackedGlyphImage(const SkGlyph&, int width, int height, int rowBytes,
+ GrMaskFormat expectedMaskFormat, void* image);
bool getPackedGlyphDFBounds(const SkGlyph&, SkIRect* bounds);
bool getPackedGlyphDFImage(const SkGlyph&, int width, int height, void* image);
const SkPath* getGlyphPath(const SkGlyph&);