Home
last modified time | relevance | path

Searched refs:qpts (Results 1 - 4 of 4) sorted by relevance

/third_party/skia/src/gpu/ops/
H A DAAConvexPathRenderer.cpp454 SkPoint qpts[] = {sega.endPt(), segb.fPts[0], segb.fPts[1]}; in create_vertices() local
456 SkScalar c0 = segb.fNorms[0].dot(qpts[0]); in create_vertices()
457 SkScalar c1 = segb.fNorms[1].dot(qpts[2]); in create_vertices()
468 posAndUVPoints[1].fPos = qpts[0]; in create_vertices()
469 posAndUVPoints[2].fPos = qpts[2]; in create_vertices()
470 posAndUVPoints[3].fPos = qpts[0] + segb.fNorms[0]; in create_vertices()
471 posAndUVPoints[4].fPos = qpts[2] + segb.fNorms[1]; in create_vertices()
474 posAndUVPoints[5].fPos = qpts[1] + midVec; in create_vertices()
476 GrPathUtils::QuadUVMatrix toUV(qpts); in create_vertices()
485 << (-segb.fNorms[1].dot(qpts[ in create_vertices()
[all...]
H A DAAHairLinePathRenderer.cpp523 void set_uv_quad(const SkPoint qpts[3], BezierVertex verts[kQuadNumVertices]) { in set_uv_quad() argument
525 GrPathUtils::QuadUVMatrix DevToUV(qpts); in set_uv_quad()
529 void bloat_quad(const SkPoint qpts[3], in bloat_quad() argument
535 SkPoint a = qpts[0]; in bloat_quad()
536 SkPoint b = qpts[1]; in bloat_quad()
537 SkPoint c = qpts[2]; in bloat_quad()
/third_party/skia/src/gpu/geometry/
H A DGrPathUtils.cpp441 SkPoint* qpts = quads->push_back_n(6); in convert_noninflect_cubic_to_quads_with_constraint()
442 qpts[0] = p[0]; in convert_noninflect_cubic_to_quads_with_constraint()
443 qpts[1] = b; in convert_noninflect_cubic_to_quads_with_constraint()
444 qpts[2] = mid; in convert_noninflect_cubic_to_quads_with_constraint()
445 qpts[3] = mid; in convert_noninflect_cubic_to_quads_with_constraint()
446 qpts[4] = c; in convert_noninflect_cubic_to_quads_with_constraint()
447 qpts[5] = p[3]; in convert_noninflect_cubic_to_quads_with_constraint()
449 SkPoint* qpts = quads->push_back_n(3); in convert_noninflect_cubic_to_quads_with_constraint()
450 qpts[0] = p[0]; in convert_noninflect_cubic_to_quads_with_constraint()
451 qpts[ in convert_noninflect_cubic_to_quads_with_constraint()
[all...]
/third_party/skia/tests/
H A DGeometryTest.cpp232 const SkPoint* qpts = quadder.computeQuads(pts, w, 0.25); in test_this_conic_to_quad() local
236 REPORTER_ASSERT(r, SkPointPriv::AreFinite(qpts, pcount)); in test_this_conic_to_quad()

Completed in 7 milliseconds