Lines Matching defs:verts
338 GrPoint* verts = (GrPoint*) arg.vertices();
339 verts[0].setIRectFan(0, 0, texture->width(), texture->height(), 2 * sizeof(GrPoint));
340 verts[1].setIRectFan(0, 0, 1, 1, 2 * sizeof(GrPoint));
675 could use an indices array, and then only send 8 verts, but not sure that
678 static void setStrokeRectStrip(GrPoint verts[10], SkRect rect,
683 verts[0].set(rect.fLeft + rad, rect.fTop + rad);
684 verts[1].set(rect.fLeft - rad, rect.fTop - rad);
685 verts[2].set(rect.fRight - rad, rect.fTop + rad);
686 verts[3].set(rect.fRight + rad, rect.fTop - rad);
687 verts[4].set(rect.fRight - rad, rect.fBottom - rad);
688 verts[5].set(rect.fRight + rad, rect.fBottom + rad);
689 verts[6].set(rect.fLeft + rad, rect.fBottom - rad);
690 verts[7].set(rect.fLeft - rad, rect.fBottom + rad);
691 verts[8] = verts[0];
692 verts[9] = verts[1];