diff options
Diffstat (limited to 'src/gpu/text/GrAtlasTextContext.h')
-rw-r--r-- | src/gpu/text/GrAtlasTextContext.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gpu/text/GrAtlasTextContext.h b/src/gpu/text/GrAtlasTextContext.h index 9c44128f52..b03ffa3fbf 100644 --- a/src/gpu/text/GrAtlasTextContext.h +++ b/src/gpu/text/GrAtlasTextContext.h @@ -44,8 +44,8 @@ public: static std::unique_ptr<GrAtlasTextContext> Make(const Options& options); - bool canDraw(const SkPaint&, const SkMatrix& viewMatrix, const SkSurfaceProps&, - const GrShaderCaps&); + bool canDraw(const GrAtlasGlyphCache* fontCache, const SkPaint&, const SkMatrix& viewMatrix, + const SkSurfaceProps&, const GrShaderCaps&); void drawText(GrContext*, GrTextUtils::Target*, const GrClip&, const SkPaint&, const SkMatrix& viewMatrix, const SkSurfaceProps&, const char text[], @@ -131,7 +131,7 @@ private: const SkMatrix& viewMatrix) const; static void BmpAppendGlyph(GrAtlasTextBlob*, int runIndex, GrAtlasGlyphCache*, - GrAtlasTextStrike**, const SkGlyph&, int left, int top, + GrAtlasTextStrike**, const SkGlyph&, SkScalar sx, SkScalar sy, GrColor color, SkGlyphCache*, SkScalar textRatio); static void DfAppendGlyph(GrAtlasTextBlob*, int runIndex, GrAtlasGlyphCache*, |