Lines Matching refs:mesh
993 GrMesh* mesh = target->allocMesh(GrPrimitiveType::kTriangles); in onPrepareDraws() local
994 mesh->setIndexedPatterned(std::move(linesIndexBuffer), kIdxsPerLineSeg, kLineSegNumVertices, in onPrepareDraws()
996 mesh->setVertexData(std::move(vertexBuffer), firstVertex); in onPrepareDraws()
997 target->recordDraw(std::move(lineGP), mesh); in onPrepareDraws()
1048 GrMesh* mesh = target->allocMesh(GrPrimitiveType::kTriangles); in onPrepareDraws() local
1049 mesh->setIndexedPatterned(quadsIndexBuffer, kIdxsPerQuad, kQuadNumVertices, quadCount, in onPrepareDraws()
1051 mesh->setVertexData(vertexBuffer, firstVertex); in onPrepareDraws()
1052 target->recordDraw(std::move(quadGP), mesh); in onPrepareDraws()
1057 GrMesh* mesh = target->allocMesh(GrPrimitiveType::kTriangles); in onPrepareDraws() local
1058 mesh->setIndexedPatterned(std::move(quadsIndexBuffer), kIdxsPerQuad, kQuadNumVertices, in onPrepareDraws()
1060 mesh->setVertexData(std::move(vertexBuffer), firstVertex); in onPrepareDraws()
1061 target->recordDraw(std::move(conicGP), mesh); in onPrepareDraws()