Home
last modified time | relevance | path

Searched refs:invDALengthSqd (Results 1 – 2 of 2) sorted by relevance

/external/skia/src/gpu/geometry/
DGrPathUtils.cpp418 SkScalar invDALengthSqd = SkPointPriv::LengthSqd(da); in convert_noninflect_cubic_to_quads_with_constraint() local
419 if (invDALengthSqd > SK_ScalarNearlyZero) { in convert_noninflect_cubic_to_quads_with_constraint()
420 invDALengthSqd = SkScalarInvert(invDALengthSqd); in convert_noninflect_cubic_to_quads_with_constraint()
427 if (detABSqd * invDALengthSqd < toleranceSqd && in convert_noninflect_cubic_to_quads_with_constraint()
428 detDCSqd * invDALengthSqd < toleranceSqd) { in convert_noninflect_cubic_to_quads_with_constraint()
/external/skqp/src/gpu/
DGrPathUtils.cpp499 SkScalar invDALengthSqd = SkPointPriv::LengthSqd(da); in convert_noninflect_cubic_to_quads_with_constraint() local
500 if (invDALengthSqd > SK_ScalarNearlyZero) { in convert_noninflect_cubic_to_quads_with_constraint()
501 invDALengthSqd = SkScalarInvert(invDALengthSqd); in convert_noninflect_cubic_to_quads_with_constraint()
508 if (detABSqd * invDALengthSqd < toleranceSqd && in convert_noninflect_cubic_to_quads_with_constraint()
509 detDCSqd * invDALengthSqd < toleranceSqd) { in convert_noninflect_cubic_to_quads_with_constraint()