Home
last modified time | relevance | path

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

/external/skia/src/gpu/geometry/
DGrQuadUtils.cpp24 static constexpr float kDistTolerance = 1e-2f; variable
25 static constexpr float kDist2Tolerance = kDistTolerance * kDistTolerance;
26 static constexpr float kInvDistTolerance = 1.f / kDistTolerance;
691 if (any(test < -kDistTolerance)) { in reset()
727 if (all(abs(d) < kDistTolerance)) { in computeDegenerateQuad()
762 M4f d1v0 = dists1 < kDistTolerance; in computeDegenerateQuad()
763 M4f d2v0 = dists2 < kDistTolerance; in computeDegenerateQuad()
786 if (dists1[2] < kDistTolerance && dists1[3] < kDistTolerance) { in computeDegenerateQuad()
824 if (dists1[i] < -kDistTolerance && abs(eDenom[0]) > kTolerance) { in computeDegenerateQuad()
830 } else if (dists2[i] < -kDistTolerance && abs(eDenom[1]) > kTolerance) { in computeDegenerateQuad()