aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/gpu/text/GrAtlasTextBlob.h
diff options
context:
space:
mode:
authorGravatar Brian Salomon <bsalomon@google.com>2017-11-08 13:50:53 -0500
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2017-11-10 16:43:47 +0000
commitdeb53cceea94e2e10d9a0e33912d1c4c1ffbac8a (patch)
treea8ee594c817a92bc0da803768eef019142be77d7 /src/gpu/text/GrAtlasTextBlob.h
parent0ecc2b7e1982a8b176c1c3a84e10bcb59c1e5c75 (diff)
Make GrTextBlob::VertexRegenerator determine vertex stride from mask format
Change-Id: Ib0910ca563150add6399ba3ca891ee23db3578ec Reviewed-on: https://skia-review.googlesource.com/68861 Reviewed-by: Jim Van Verth <jvanverth@google.com> Commit-Queue: Brian Salomon <bsalomon@google.com>
Diffstat (limited to 'src/gpu/text/GrAtlasTextBlob.h')
-rw-r--r--src/gpu/text/GrAtlasTextBlob.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/gpu/text/GrAtlasTextBlob.h b/src/gpu/text/GrAtlasTextBlob.h
index 403cbbfa3f..450e256d38 100644
--- a/src/gpu/text/GrAtlasTextBlob.h
+++ b/src/gpu/text/GrAtlasTextBlob.h
@@ -557,7 +557,7 @@ public:
*/
VertexRegenerator(GrAtlasTextBlob* blob, int runIdx, int subRunIdx, const SkMatrix& viewMatrix,
SkScalar x, SkScalar y, GrColor color, GrDeferredUploadTarget*,
- GrAtlasGlyphCache*, SkAutoGlyphCache*, size_t vertexStride);
+ GrAtlasGlyphCache*, SkAutoGlyphCache*);
struct Result {
/**
@@ -591,7 +591,6 @@ private:
SkAutoGlyphCache* fLazyCache;
Run* fRun;
Run::SubRunInfo* fSubRun;
- size_t fVertexStride;
GrColor fColor;
SkScalar fTransX;
SkScalar fTransY;