Searched refs:kCloseSqd (Results 1 – 8 of 8) sorted by relevance
/external/skqp/src/gpu/ops/ |
D | GrAAConvexPathRenderer.cpp | 194 static const SkScalar kCloseSqd = kClose * kClose; variable 203 if (SkPointPriv::DistanceToSqd(pt, data->fFirstPoint) > kCloseSqd) { in update_degenerate_test() 246 if (SkPointPriv::DistanceToSqd(pts[0], pts[1]) < kCloseSqd || in add_quad_segment() 247 SkPointPriv::DistanceToSqd(pts[1], pts[2]) < kCloseSqd) { in add_quad_segment()
|
D | GrAAConvexTessellator.cpp | 22 static const SkScalar kCloseSqd = kClose * kClose; variable 59 return distSq < kCloseSqd; in duplicate_pt() 66 if (SkScalarAbs(area) >= 2 * kCloseSqd) { in points_are_colinear_and_b_is_middle()
|
/external/skqp/src/gpu/ |
D | GrDistanceFieldGenFromVector.cpp | 145 static const double kCloseSqd = kClose * kClose; variable 208 (pts[1].y() - pts[2].y()) * (pts[1].x() - pts[0].x()), kCloseSqd); in is_colinear() 374 if (SkPointPriv::DistanceToSqd(pts[0], pts[1]) < kCloseSqd || in add_quad_segment() 375 SkPointPriv::DistanceToSqd(pts[1], pts[2]) < kCloseSqd || in add_quad_segment()
|
/external/skia/src/gpu/ |
D | GrDistanceFieldGenFromVector.cpp | 113 static const double kCloseSqd = kClose * kClose; variable 178 (pts[1].fY - pts[2].fY) * (pts[1].fX - pts[0].fX), kCloseSqd); in is_colinear() 345 if (SkPointPriv::DistanceToSqd(pts[0], pts[1]) < kCloseSqd || in add_quad() 346 SkPointPriv::DistanceToSqd(pts[1], pts[2]) < kCloseSqd || in add_quad()
|
/external/skia/src/gpu/ops/ |
D | GrAAConvexPathRenderer.cpp | 194 static const SkScalar kCloseSqd = kClose * kClose; variable 203 if (SkPointPriv::DistanceToSqd(pt, data->fFirstPoint) > kCloseSqd) { in update_degenerate_test() 252 if (SkPointPriv::DistanceToLineSegmentBetweenSqd(pts[1], pts[0], pts[2]) < kCloseSqd) { in add_quad_segment()
|
D | GrAAConvexTessellator.cpp | 22 static const SkScalar kCloseSqd = kClose * kClose; variable 59 return distSq < kCloseSqd; in duplicate_pt()
|
/external/skia/src/utils/ |
D | SkShadowTessellator.cpp | 147 static constexpr SkScalar kCloseSqd = kClose * kClose; in duplicate_pt() local 150 return distSq < kCloseSqd; in duplicate_pt()
|
/external/skqp/src/utils/ |
D | SkShadowTessellator.cpp | 146 static constexpr SkScalar kCloseSqd = kClose * kClose; in duplicate_pt() local 149 return distSq < kCloseSqd; in duplicate_pt()
|