diff options
author | joshualitt <joshualitt@chromium.org> | 2015-12-15 11:33:19 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-12-15 11:33:19 -0800 |
commit | 66957946c0c418e71c0f36bb2904cc38c334eba4 (patch) | |
tree | 1d20a67469bd6c44a50dc61b4fe44ad54bde5135 /src/gpu/text/GrTextUtils.h | |
parent | c88cb8942e9b0097784d048dc2734b9e0d4391d1 (diff) |
Make draw* lines responsible for cache management
TBR=bsalomon@google.com
BUG=skia:
Review URL: https://codereview.chromium.org/1521613002
Diffstat (limited to 'src/gpu/text/GrTextUtils.h')
-rw-r--r-- | src/gpu/text/GrTextUtils.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/gpu/text/GrTextUtils.h b/src/gpu/text/GrTextUtils.h index 8f673afbed..0996f655a3 100644 --- a/src/gpu/text/GrTextUtils.h +++ b/src/gpu/text/GrTextUtils.h @@ -35,13 +35,14 @@ class GrTextUtils { public: // Functions for appending BMP text to GrAtlasTextBlob static void DrawBmpText(GrAtlasTextBlob*, int runIndex, - GrBatchFontCache*, SkGlyphCache*, const SkPaint&, + GrBatchFontCache*, const SkSurfaceProps&, + const SkPaint&, GrColor, const SkMatrix& viewMatrix, const char text[], size_t byteLength, SkScalar x, SkScalar y); static void DrawBmpPosText(GrAtlasTextBlob*, int runIndex, - GrBatchFontCache*, SkGlyphCache*, const SkPaint&, + GrBatchFontCache*, const SkSurfaceProps&, const SkPaint&, GrColor, const SkMatrix& viewMatrix, const char text[], size_t byteLength, const SkScalar pos[], int scalarsPerPosition, |