Lines Matching defs:draw
290 // draw nothing.
372 Draw* draw = &draws->push_back();
374 int* v = &draw->fVertexCnt;
375 int* i = &draw->fIndexCnt;
383 // Check whether adding the verts for this segment to the current draw would cause index
391 if (draw->fVertexCnt + vCount > (1 << 16)) {
393 draw = &draws->push_back();
394 v = &draw->fVertexCnt;
395 i = &draw->fIndexCnt;
419 // we draw the line edge as a degenerate quad (u is 0, v is the
837 const Draw& draw = draws[j];
838 meshes[j].setIndexed(indexBuffer, draw.fIndexCnt, firstIndex, 0,
839 draw.fVertexCnt - 1, GrPrimitiveRestart::kNo, vertexBuffer,
841 firstIndex += draw.fIndexCnt;
842 firstVertex += draw.fVertexCnt;