| Index: src/gpu/batches/GrAtlasTextBatch.h
|
| diff --git a/src/gpu/batches/GrAtlasTextBatch.h b/src/gpu/batches/GrAtlasTextBatch.h
|
| index 95abbf43814f0653828593c11e616d2388954b47..5fd3d6110fe3b6283d7317919cd874a27e91be35 100644
|
| --- a/src/gpu/batches/GrAtlasTextBatch.h
|
| +++ b/src/gpu/batches/GrAtlasTextBatch.h
|
| @@ -16,10 +16,6 @@ class GrAtlasTextBatch : public GrVertexBatch {
|
| public:
|
| DEFINE_BATCH_CLASS_ID
|
|
|
| - // position + local coord
|
| - static const size_t kColorTextVASize = sizeof(SkPoint) + sizeof(SkIPoint16);
|
| - static const size_t kGrayTextVASize = sizeof(SkPoint) + sizeof(GrColor) + sizeof(SkIPoint16);
|
| - static const size_t kLCDTextVASize = kGrayTextVASize;
|
| static const int kVerticesPerGlyph = GrAtlasTextBlob::kVerticesPerGlyph;
|
| static const int kIndicesPerGlyph = 6;
|
|
|
| @@ -102,17 +98,6 @@ public:
|
|
|
| SkString dumpInfo() const override;
|
|
|
| - static size_t GetVertexStride(GrMaskFormat maskFormat) {
|
| - switch (maskFormat) {
|
| - case kA8_GrMaskFormat:
|
| - return kGrayTextVASize;
|
| - case kARGB_GrMaskFormat:
|
| - return kColorTextVASize;
|
| - default:
|
| - return kLCDTextVASize;
|
| - }
|
| - }
|
| -
|
| protected:
|
| void computePipelineOptimizations(GrInitInvariantOutput* color,
|
| GrInitInvariantOutput* coverage,
|
|
|