diff options
author | 2017-12-13 10:59:33 -0500 | |
---|---|---|
committer | 2017-12-20 14:00:44 +0000 | |
commit | b5086961f335d6757a88ce7507c445485aaba2e6 (patch) | |
tree | a635252858428f4f0f04144d532cc4ab96388d95 /src/atlastext/SkInternalAtlasTextContext.h | |
parent | e1367b4a064737cbcf78f2297fa89e0a032b2060 (diff) |
Add matrix stack to SkAtlasTextTarget.
Makes SkAtlasTextRenderer::SDFVertex now has a 3 component position vector.
Change-Id: I7ec1a8068fb84388a82e1748d6e9d02820d55abd
Reviewed-on: https://skia-review.googlesource.com/84202
Commit-Queue: Brian Salomon <bsalomon@google.com>
Reviewed-by: Jim Van Verth <jvanverth@google.com>
Diffstat (limited to 'src/atlastext/SkInternalAtlasTextContext.h')
-rw-r--r-- | src/atlastext/SkInternalAtlasTextContext.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/atlastext/SkInternalAtlasTextContext.h b/src/atlastext/SkInternalAtlasTextContext.h index 1bb12cee5a..ea89435580 100644 --- a/src/atlastext/SkInternalAtlasTextContext.h +++ b/src/atlastext/SkInternalAtlasTextContext.h @@ -14,6 +14,7 @@ #include "SkRefCnt.h" class SkAtlasTextRenderer; +class SkMatrix; class GrContext; class GrAtlasGlyphCache; class GrTextBlobCache; @@ -38,7 +39,7 @@ public: GrDeferredUploadToken addASAPUpload(GrDeferredTextureUploadFn&&) override; - void recordDraw(const void* vertexData, int glyphCnt, void* targetHandle); + void recordDraw(const void* vertexData, int glyphCnt, const SkMatrix&, void* targetHandle); void flush(); |