Lines Matching defs:verts
291 // trade off of fill vs cpu time on verts
537 void set_uv_quad(const SkPoint qpts[3], BezierVertex verts[kVertsPerQuad]) {
540 DevToUV.apply<kVertsPerQuad, sizeof(BezierVertex), sizeof(GrPoint)>(verts);
544 const SkMatrix* toSrc, BezierVertex verts[kVertsPerQuad],
569 BezierVertex& a0 = verts[0];
570 BezierVertex& a1 = verts[1];
571 BezierVertex& b0 = verts[2];
572 BezierVertex& c0 = verts[3];
573 BezierVertex& c1 = verts[4];
610 devBounds->growToInclude(&verts[0].fPos, sizeof(BezierVertex), kVertsPerQuad);
613 toSrc->mapPointsWithStride(&verts[0].fPos, sizeof(BezierVertex), kVertsPerQuad);
624 void set_conic_coeffs(const SkPoint p[3], BezierVertex verts[kVertsPerQuad],
631 const SkPoint pnt = verts[i].fPos;
632 verts[i].fConic.fK = pnt.fX * klm[0] + pnt.fY * klm[1] + klm[2];
633 verts[i].fConic.fL = pnt.fX * klm[3] + pnt.fY * klm[4] + klm[5];
634 verts[i].fConic.fM = pnt.fX * klm[6] + pnt.fY * klm[7] + klm[8];
750 LineVertex* verts = reinterpret_cast<LineVertex*>(arg->vertices());
762 add_line(&lines[2*i], toSrc, drawState->getCoverageColor(), &verts);
764 // All the verts computed by add_line are within sqrt(1^2 + 0.5^2) of the end points.
797 BezierVertex* verts = reinterpret_cast<BezierVertex*>(arg->vertices());
828 add_quads(&quads[3*i], qSubdivs[i], toDevice, toSrc, &verts, devBounds);
833 add_conics(&conics[3*i], cWeights[i], toDevice, toSrc, &verts, devBounds);
863 // The bounds ought to be tight, but in perspective the below code runs the verts
873 VertexType* verts = reinterpret_cast<VertexType*>(vertices);
876 SkPoint pos = verts[i].fPos;