Home
last modified time | relevance | path

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

/external/skia/src/gpu/
DGrTriangulator.cpp920 float primaryDiff = c.fDirection == Comparator::Direction::kHorizontal ? diff.fX : diff.fY; in nearly_flat() local
921 return fabs(primaryDiff) <= std::numeric_limits<float>::epsilon() && primaryDiff != 0.0f; in nearly_flat()
/external/skqp/src/gpu/
DGrTessellator.cpp1206 float primaryDiff = c.fDirection == Comparator::Direction::kHorizontal ? diff.fX : diff.fY; in nearly_flat() local
1207 return fabs(primaryDiff) < std::numeric_limits<float>::epsilon() && primaryDiff != 0.0f; in nearly_flat()