| Index: src/gpu/batches/GrAtlasTextBatch.h
|
| diff --git a/src/gpu/batches/GrAtlasTextBatch.h b/src/gpu/batches/GrAtlasTextBatch.h
|
| index 5997d4916781cd56abe2093d6d997fe62d3f3b20..4f22276f3fbfc3612710862366e1b0b173102554 100644
|
| --- a/src/gpu/batches/GrAtlasTextBatch.h
|
| +++ b/src/gpu/batches/GrAtlasTextBatch.h
|
| @@ -136,7 +136,7 @@ private:
|
| int fVertexOffset;
|
| };
|
|
|
| - void onPrepareDraws(Target* target) override;
|
| + void onPrepareDraws(Target* target) const override;
|
|
|
| GrAtlasTextBatch() : INHERITED(ClassID()) {} // initialized in factory functions.
|
|
|
| @@ -175,9 +175,9 @@ private:
|
| TextInfo* info, SkGlyphCache** cache,
|
| SkTypeface** typeface, GrFontScaler** scaler, const SkDescriptor** desc,
|
| const GrGeometryProcessor* gp, int glyphCount, size_t vertexStride,
|
| - GrColor color, SkScalar transX, SkScalar transY);
|
| + GrColor color, SkScalar transX, SkScalar transY) const;
|
|
|
| - inline void flush(GrVertexBatch::Target* target, FlushInfo* flushInfo);
|
| + inline void flush(GrVertexBatch::Target* target, FlushInfo* flushInfo) const;
|
|
|
| GrColor color() const { return fBatch.fColor; }
|
| const SkMatrix& viewMatrix() const { return fBatch.fViewMatrix; }
|
| @@ -189,7 +189,7 @@ private:
|
| // TODO just use class params
|
| // TODO trying to figure out why lcd is so whack
|
| GrGeometryProcessor* setupDfProcessor(const SkMatrix& viewMatrix, SkColor filteredColor,
|
| - GrColor color, GrTexture* texture);
|
| + GrColor color, GrTexture* texture) const;
|
|
|
| struct BatchTracker {
|
| GrColor fColor;
|
|
|