Index: src/gpu/batches/GrAALinearizingConvexPathRenderer.cpp |
diff --git a/src/gpu/batches/GrAALinearizingConvexPathRenderer.cpp b/src/gpu/batches/GrAALinearizingConvexPathRenderer.cpp |
index 13267fd7e25b24dc1051df1ab25c034d0ca6e77a..120ecc76ee6901802ee7b5c33178e760fb7eb6a9 100644 |
--- a/src/gpu/batches/GrAALinearizingConvexPathRenderer.cpp |
+++ b/src/gpu/batches/GrAALinearizingConvexPathRenderer.cpp |
@@ -165,7 +165,7 @@ private: |
return; |
} |
const GrVertexBuffer* vertexBuffer; |
- GrVertices info; |
+ GrMesh mesh; |
int firstVertex; |
void* verts = target->makeVertexSpace(vertexStride, vertexCount, &vertexBuffer, |
&firstVertex); |
@@ -183,9 +183,9 @@ private: |
return; |
} |
memcpy(idxs, indices, indexCount * sizeof(uint16_t)); |
- info.initIndexed(kTriangles_GrPrimitiveType, vertexBuffer, indexBuffer, firstVertex, |
- firstIndex, vertexCount, indexCount); |
- target->draw(info); |
+ mesh.initIndexed(kTriangles_GrPrimitiveType, vertexBuffer, indexBuffer, firstVertex, |
+ firstIndex, vertexCount, indexCount); |
+ target->draw(mesh); |
} |
void onPrepareDraws(Target* target) const override { |
@@ -201,7 +201,7 @@ private: |
return; |
} |
- target->initDraw(gp, this->pipeline()); |
+ target->initDraw(gp); |
size_t vertexStride = gp->getVertexStride(); |