Home
last modified time | relevance | path

Searched refs:toleranceSqd (Results 1 – 4 of 4) sorted by relevance

/external/skia/src/gpu/
DGrPathUtils.cpp392 SkScalar toleranceSqd, in convert_noninflect_cubic_to_quads() argument
439 if (detABSqd * invDALengthSqd < toleranceSqd && in convert_noninflect_cubic_to_quads()
440 detDCSqd * invDALengthSqd < toleranceSqd) in convert_noninflect_cubic_to_quads()
484 if (dSqd < toleranceSqd) { in convert_noninflect_cubic_to_quads()
512 subdivide = 2 * d0d1 + d0Sqd + d1Sqd > toleranceSqd; in convert_noninflect_cubic_to_quads()
526 toleranceSqd, in convert_noninflect_cubic_to_quads()
532 toleranceSqd, in convert_noninflect_cubic_to_quads()
DGrTessellator.cpp706 void append_quadratic_to_contour(const SkPoint pts[3], SkScalar toleranceSqd, VertexList* contour, in append_quadratic_to_contour() argument
719 if (quad_error_at(pts, t, u) < toleranceSqd) { in append_quadratic_to_contour()
763 SkScalar toleranceSqd = tolerance * tolerance; in path_to_contours() local
783 const SkPoint* quadPts = converter.computeQuads(pts, weight, toleranceSqd); in path_to_contours()
785 append_quadratic_to_contour(quadPts, toleranceSqd, contour, alloc); in path_to_contours()
802 append_quadratic_to_contour(pts, toleranceSqd, contour, alloc); in path_to_contours()
808 generate_cubic_points(pts[0], pts[1], pts[2], pts[3], toleranceSqd, contour, in path_to_contours()
/external/skqp/src/gpu/
DGrPathUtils.cpp392 SkScalar toleranceSqd, in convert_noninflect_cubic_to_quads() argument
439 if (detABSqd * invDALengthSqd < toleranceSqd && in convert_noninflect_cubic_to_quads()
440 detDCSqd * invDALengthSqd < toleranceSqd) in convert_noninflect_cubic_to_quads()
484 if (dSqd < toleranceSqd) { in convert_noninflect_cubic_to_quads()
512 subdivide = 2 * d0d1 + d0Sqd + d1Sqd > toleranceSqd; in convert_noninflect_cubic_to_quads()
526 toleranceSqd, in convert_noninflect_cubic_to_quads()
532 toleranceSqd, in convert_noninflect_cubic_to_quads()
DGrTessellator.cpp706 void append_quadratic_to_contour(const SkPoint pts[3], SkScalar toleranceSqd, VertexList* contour, in append_quadratic_to_contour() argument
719 if (quad_error_at(pts, t, u) < toleranceSqd) { in append_quadratic_to_contour()
763 SkScalar toleranceSqd = tolerance * tolerance; in path_to_contours() local
783 const SkPoint* quadPts = converter.computeQuads(pts, weight, toleranceSqd); in path_to_contours()
785 append_quadratic_to_contour(quadPts, toleranceSqd, contour, alloc); in path_to_contours()
802 append_quadratic_to_contour(pts, toleranceSqd, contour, alloc); in path_to_contours()
808 generate_cubic_points(pts[0], pts[1], pts[2], pts[3], toleranceSqd, contour, in path_to_contours()