| Index: src/gpu/batches/GrVertexBatch.h
|
| diff --git a/src/gpu/batches/GrVertexBatch.h b/src/gpu/batches/GrVertexBatch.h
|
| index d0daf591412382c98cf3535b04a9c6f1e402ee32..40a69ac542b4a41af9825a869fea1fce996042ff 100644
|
| --- a/src/gpu/batches/GrVertexBatch.h
|
| +++ b/src/gpu/batches/GrVertexBatch.h
|
| @@ -34,7 +34,7 @@ protected:
|
| InstancedHelper() {}
|
| /** Returns the allocated storage for the vertices. The caller should populate the before
|
| vertices before calling issueDraws(). */
|
| - void* init(Target*, GrPrimitiveType, size_t vertexStride,
|
| + void* init(Target*, size_t vertexStride,
|
| const GrIndexBuffer*, int verticesPerInstance, int indicesPerInstance,
|
| int instancesToDraw);
|
|
|
| @@ -73,6 +73,7 @@ private:
|
| struct DrawArray {
|
| SkSTArray<1, GrVertices, true> fDraws;
|
| GrPendingProgramElement<const GrPrimitiveProcessor> fPrimitiveProcessor;
|
| + GrPrimitiveType fPrimitiveType;
|
| };
|
|
|
| // Array of DrawArray. There may be inline uploads between each DrawArray and each DrawArray
|
|
|