Home
last modified time | relevance | path

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

/external/skia/src/gpu/geometry/
DGrPathUtils.cpp607 float cuspThreshold = a * (kEpsilon/2); in findCubicConvex180Chops() local
608 cuspThreshold *= cuspThreshold; in findCubicConvex180Chops()
610 if (discr_over_4 < -cuspThreshold) { in findCubicConvex180Chops()
633 *areCusps = (discr_over_4 <= cuspThreshold); in findCubicConvex180Chops()
/external/skia/src/gpu/tessellate/
DGrStrokeHardwareTessellator.cpp660 float cuspThreshold = (2*kEpsilon) * a; in cubic_has_cusp() local
661 cuspThreshold *= cuspThreshold; in cubic_has_cusp()
663 return fabsf(discr) <= cuspThreshold && in cubic_has_cusp()