Searched defs:tolSqd (Results 1 - 2 of 2) sorted by relevance

/external/skia/src/gpu/
H A DGrPathUtils.cpp73 SkScalar tolSqd,
77 (p1.distanceToLineSegmentBetweenSqd(p0, p2)) < tolSqd) {
90 uint32_t a = generateQuadraticPoints(p0, q[0], r, tolSqd, points, pointsLeft);
91 uint32_t b = generateQuadraticPoints(r, q[1], p2, tolSqd, points, pointsLeft);
130 SkScalar tolSqd,
134 (p1.distanceToLineSegmentBetweenSqd(p0, p3) < tolSqd &&
135 p2.distanceToLineSegmentBetweenSqd(p0, p3) < tolSqd)) {
151 uint32_t a = generateCubicPoints(p0, q[0], r[0], s, tolSqd, points, pointsLeft);
152 uint32_t b = generateCubicPoints(s, r[1], q[2], p3, tolSqd, points, pointsLeft);
552 const SkScalar tolSqd local
70 generateQuadraticPoints(const SkPoint& p0, const SkPoint& p1, const SkPoint& p2, SkScalar tolSqd, SkPoint** points, uint32_t pointsLeft) argument
126 generateCubicPoints(const SkPoint& p0, const SkPoint& p1, const SkPoint& p2, const SkPoint& p3, SkScalar tolSqd, SkPoint** points, uint32_t pointsLeft) argument
569 const SkScalar tolSqd = SkScalarSquare(tolScale); local
[all...]
H A DGrTessellator.cpp483 SkScalar tolSqd,
489 if (pointsLeft < 2 || d < tolSqd || !SkScalarIsFinite(d)) {
500 prev = generate_quadratic_points(p0, q[0], r, tolSqd, prev, head, pointsLeft, alloc);
501 prev = generate_quadratic_points(r, q[1], p2, tolSqd, prev, head, pointsLeft, alloc);
509 SkScalar tolSqd,
516 if (pointsLeft < 2 || (d1 < tolSqd && d2 < tolSqd) ||
531 prev = generate_cubic_points(p0, q[0], r[0], s, tolSqd, prev, head, pointsLeft, alloc);
532 prev = generate_cubic_points(s, r[1], q[2], p3, tolSqd, prev, head, pointsLeft, alloc);
480 generate_quadratic_points(const SkPoint& p0, const SkPoint& p1, const SkPoint& p2, SkScalar tolSqd, Vertex* prev, Vertex** head, int pointsLeft, SkChunkAlloc& alloc) argument
505 generate_cubic_points(const SkPoint& p0, const SkPoint& p1, const SkPoint& p2, const SkPoint& p3, SkScalar tolSqd, Vertex* prev, Vertex** head, int pointsLeft, SkChunkAlloc& alloc) argument

Completed in 70 milliseconds