• Home
  • Raw
  • Download

Lines Matching refs:verts

353                             QuadVertex*    verts,  in create_vertices()  argument
375 verts += *v; in create_vertices()
383 verts[*v + 0].fPos = sega.endPt(); in create_vertices()
384 verts[*v + 1].fPos = verts[*v + 0].fPos + sega.endNorm(); in create_vertices()
385 verts[*v + 2].fPos = verts[*v + 0].fPos + segb.fMid; in create_vertices()
386 verts[*v + 3].fPos = verts[*v + 0].fPos + segb.fNorms[0]; in create_vertices()
387 verts[*v + 0].fUV.set(0,0); in create_vertices()
388 verts[*v + 1].fUV.set(0,-SK_Scalar1); in create_vertices()
389 verts[*v + 2].fUV.set(0,-SK_Scalar1); in create_vertices()
390 verts[*v + 3].fUV.set(0,-SK_Scalar1); in create_vertices()
391 verts[*v + 0].fD0 = verts[*v + 0].fD1 = -SK_Scalar1; in create_vertices()
392 verts[*v + 1].fD0 = verts[*v + 1].fD1 = -SK_Scalar1; in create_vertices()
393 verts[*v + 2].fD0 = verts[*v + 2].fD1 = -SK_Scalar1; in create_vertices()
394 verts[*v + 3].fD0 = verts[*v + 3].fD1 = -SK_Scalar1; in create_vertices()
407 verts[*v + 0].fPos = fanPt; in create_vertices()
408 verts[*v + 1].fPos = sega.endPt(); in create_vertices()
409 verts[*v + 2].fPos = segb.fPts[0]; in create_vertices()
411 verts[*v + 3].fPos = verts[*v + 1].fPos + segb.fNorms[0]; in create_vertices()
412 verts[*v + 4].fPos = verts[*v + 2].fPos + segb.fNorms[0]; in create_vertices()
416 SkScalar dist = fanPt.distanceToLineBetween(verts[*v + 1].fPos, in create_vertices()
417 verts[*v + 2].fPos); in create_vertices()
418 verts[*v + 0].fUV.set(0, dist); in create_vertices()
419 verts[*v + 1].fUV.set(0, 0); in create_vertices()
420 verts[*v + 2].fUV.set(0, 0); in create_vertices()
421 verts[*v + 3].fUV.set(0, -SK_Scalar1); in create_vertices()
422 verts[*v + 4].fUV.set(0, -SK_Scalar1); in create_vertices()
424 verts[*v + 0].fD0 = verts[*v + 0].fD1 = -SK_Scalar1; in create_vertices()
425 verts[*v + 1].fD0 = verts[*v + 1].fD1 = -SK_Scalar1; in create_vertices()
426 verts[*v + 2].fD0 = verts[*v + 2].fD1 = -SK_Scalar1; in create_vertices()
427 verts[*v + 3].fD0 = verts[*v + 3].fD1 = -SK_Scalar1; in create_vertices()
428 verts[*v + 4].fD0 = verts[*v + 4].fD1 = -SK_Scalar1; in create_vertices()
458 verts[*v + 0].fPos = fanPt; in create_vertices()
459 verts[*v + 1].fPos = qpts[0]; in create_vertices()
460 verts[*v + 2].fPos = qpts[2]; in create_vertices()
461 verts[*v + 3].fPos = qpts[0] + segb.fNorms[0]; in create_vertices()
462 verts[*v + 4].fPos = qpts[2] + segb.fNorms[1]; in create_vertices()
463 verts[*v + 5].fPos = qpts[1] + midVec; in create_vertices()
466 verts[*v + 0].fD0 = -segb.fNorms[0].dot(fanPt) + c; in create_vertices()
467 verts[*v + 1].fD0 = 0.f; in create_vertices()
468 verts[*v + 2].fD0 = -segb.fNorms[0].dot(qpts[2]) + c; in create_vertices()
469 verts[*v + 3].fD0 = -SK_ScalarMax/100; in create_vertices()
470 verts[*v + 4].fD0 = -SK_ScalarMax/100; in create_vertices()
471 verts[*v + 5].fD0 = -SK_ScalarMax/100; in create_vertices()
474 verts[*v + 0].fD1 = -segb.fNorms[1].dot(fanPt) + c; in create_vertices()
475 verts[*v + 1].fD1 = -segb.fNorms[1].dot(qpts[0]) + c; in create_vertices()
476 verts[*v + 2].fD1 = 0.f; in create_vertices()
477 verts[*v + 3].fD1 = -SK_ScalarMax/100; in create_vertices()
478 verts[*v + 4].fD1 = -SK_ScalarMax/100; in create_vertices()
479 verts[*v + 5].fD1 = -SK_ScalarMax/100; in create_vertices()
482 toUV.apply<6, sizeof(QuadVertex), sizeof(SkPoint)>(verts + *v); in create_vertices()
707 intptr_t verts = reinterpret_cast<intptr_t>(vertices); in extract_verts() local
710 *((SkPoint*)((intptr_t)verts + i * vertexStride)) = tess.point(i); in extract_verts()
714 verts += sizeof(SkPoint); in extract_verts()
721 *reinterpret_cast<GrColor*>(verts + i * vertexStride) = scaledColor; in extract_verts()
723 *reinterpret_cast<GrColor*>(verts + i * vertexStride) = color; in extract_verts()
724 *reinterpret_cast<float*>(verts + i * vertexStride + sizeof(GrColor)) = in extract_verts()
828 void* verts = batchTarget->makeVertSpace(vertexStride, tess.numPts(), in generateGeometryLinesOnly() local
830 if (!verts) { in generateGeometryLinesOnly()
845 extract_verts(tess, verts, vertexStride, args.fColor, idxs, canTweakAlphaForCoverage); in generateGeometryLinesOnly()
917 QuadVertex* verts = reinterpret_cast<QuadVertex*>(batchTarget->makeVertSpace( in generateGeometry() local
920 if (!verts) { in generateGeometry()
935 create_vertices(segments, fanPt, &draws, verts, idxs); in generateGeometry()