| Index: src/gpu/batches/GrAAStrokeRectBatch.h
|
| diff --git a/src/gpu/batches/GrAAStrokeRectBatch.h b/src/gpu/batches/GrAAStrokeRectBatch.h
|
| index f9c4f3ed9dc275fb14455fcddd5390b77865891c..2c6b0dbcf023883c44e8e7c1b3393186a38a0f8d 100644
|
| --- a/src/gpu/batches/GrAAStrokeRectBatch.h
|
| +++ b/src/gpu/batches/GrAAStrokeRectBatch.h
|
| @@ -14,6 +14,8 @@
|
| #include "SkMatrix.h"
|
| #include "SkRect.h"
|
|
|
| +class GrResourceProvider;
|
| +
|
| class GrAAStrokeRectBatch : public GrVertexBatch {
|
| public:
|
| // TODO support AA rotated stroke rects by copying around view matrices
|
| @@ -42,11 +44,11 @@ public:
|
|
|
| void initBatchTracker(const GrPipelineOptimizations&) override;
|
|
|
| - void generateGeometry(GrBatchTarget* batchTarget) override;
|
| -
|
| SkSTArray<1, Geometry, true>* geoData() { return &fGeoData; }
|
|
|
| private:
|
| + void onPrepareDraws(Target*) override;
|
| +
|
| GrAAStrokeRectBatch(const Geometry& geometry, const SkMatrix& viewMatrix) {
|
| this->initClassID<GrAAStrokeRectBatch>();
|
| fBatch.fViewMatrix = viewMatrix;
|
|
|