HomeSort by relevance Sort by last modified time
    Searched defs:tol (Results 1 - 4 of 4) sorted by null

  /external/skia/tests/
ClipCubicTest.cpp 45 float tol) {
47 if (SkScalarAbs(c0[i].fX - c1[i].fX) > SkFloatToScalar(tol) ||
48 SkScalarAbs(c0[i].fY - c1[i].fY) > SkFloatToScalar(tol)
84 const float tol = SkFloatToScalar(1e-4); local
92 0, 0, 2, 3, 1, 10, 4, 12, shouldbe), tol));
100 0, 0, 2, 3, 1, 10, 4, 12, shouldbe), tol));
108 0, 0, 2, 3, 1, 10, 4, 12, shouldbe), tol));
126 shouldbe), tol));
138 shouldbe), tol));
150 shouldbe), tol));
    [all...]
  /external/skia/src/core/
SkCubicClipper.cpp 39 const SkScalar tol = SK_Scalar1 / 16384; // This leaves 2 fixed noise bits. local
59 converged = SkScalarAbs(t1 - t0) <= tol; // NaN-safe
89 const SkScalar tol = SK_Scalar1 / 65536; // 1 for fixed, 1e-5 for float.
106 } while (!(SkScalarAbs(tPos - tNeg) <= tol)); // Nan-safe
  /external/skia/src/gpu/
GrDefaultPathRenderer.cpp 346 GrScalar tol = GR_Scalar1; local
347 tol = GrPathUtils::scaleToleranceToSrc(tol, viewM, path.getBounds());
356 tol,
GrTesselatedPathRenderer.cpp 364 GrScalar tol = GR_Scalar1; local
365 tol = GrPathUtils::scaleToleranceToSrc(tol, viewM, path.getBounds());
366 GrScalar tolSqd = GrMul(tol, tol);
369 int maxPts = GrPathUtils::worstCasePointCount(path, &subpathCnt, tol);
417 GrPathUtils::quadraticPointCount(pts, tol));
423 GrPathUtils::cubicPointCount(pts, tol));

Completed in 754 milliseconds