diff options
Diffstat (limited to 'src/gpu/batches/GrDrawVerticesBatch.h')
-rw-r--r-- | src/gpu/batches/GrDrawVerticesBatch.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gpu/batches/GrDrawVerticesBatch.h b/src/gpu/batches/GrDrawVerticesBatch.h index 5e9628bc16..8864b16898 100644 --- a/src/gpu/batches/GrDrawVerticesBatch.h +++ b/src/gpu/batches/GrDrawVerticesBatch.h @@ -15,7 +15,7 @@ #include "SkRect.h" #include "SkTDArray.h" -class GrBatchTarget; +class GrBatchFlushState; struct GrInitInvariantOutput; class GrDrawVerticesBatch : public GrVertexBatch { @@ -47,11 +47,11 @@ public: void initBatchTracker(const GrPipelineOptimizations&) override; - void generateGeometry(GrBatchTarget* batchTarget) override; - SkSTArray<1, Geometry, true>* geoData() { return &fGeoData; } private: + void onPrepareDraws(Target*) override; + GrDrawVerticesBatch(const Geometry& geometry, GrPrimitiveType primitiveType, const SkMatrix& viewMatrix, const SkPoint* positions, int vertexCount, |