diff options
Diffstat (limited to 'src/atlastext/SkInternalAtlasTextContext.h')
-rw-r--r-- | src/atlastext/SkInternalAtlasTextContext.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/atlastext/SkInternalAtlasTextContext.h b/src/atlastext/SkInternalAtlasTextContext.h index ea89435580..49a55cce15 100644 --- a/src/atlastext/SkInternalAtlasTextContext.h +++ b/src/atlastext/SkInternalAtlasTextContext.h @@ -35,9 +35,9 @@ public: GrAtlasGlyphCache* atlasGlyphCache(); GrTextBlobCache* textBlobCache(); - GrDeferredUploadToken addInlineUpload(GrDeferredTextureUploadFn&&) override; - - GrDeferredUploadToken addASAPUpload(GrDeferredTextureUploadFn&&) override; + const GrTokenTracker* tokenTracker() final { return &fTokenTracker; } + GrDeferredUploadToken addInlineUpload(GrDeferredTextureUploadFn&&) final; + GrDeferredUploadToken addASAPUpload(GrDeferredTextureUploadFn&&) final; void recordDraw(const void* vertexData, int glyphCnt, const SkMatrix&, void* targetHandle); @@ -70,6 +70,7 @@ private: GrDeferredUploadToken fToken; }; + GrTokenTracker fTokenTracker; SkArenaAllocList<InlineUpload> fInlineUploads; SkArenaAllocList<Draw> fDraws; SkArenaAllocList<GrDeferredTextureUploadFn> fASAPUploads; |