Index: src/gpu/batches/GrDrawVerticesBatch.h |
diff --git a/src/gpu/batches/GrDrawVerticesBatch.h b/src/gpu/batches/GrDrawVerticesBatch.h |
index 5e9628bc16e92d143b191d49ba1ee7bf8084d686..8864b168984963ae55e1d142eba213414cc8680d 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, |