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

  /external/skia/tests/
ClipCubicTest.cpp 20 float tol) {
22 if (SkScalarAbs(c0[i].fX - c1[i].fX) > SkFloatToScalar(tol) ||
23 SkScalarAbs(c0[i].fY - c1[i].fY) > SkFloatToScalar(tol)
59 const float tol = SkFloatToScalar(1e-4); local
67 0, 0, 2, 3, 1, 10, 4, 12, shouldbe), tol));
75 0, 0, 2, 3, 1, 10, 4, 12, shouldbe), tol));
83 0, 0, 2, 3, 1, 10, 4, 12, shouldbe), tol));
101 shouldbe), tol));
113 shouldbe), tol));
125 shouldbe), tol));
    [all...]
  /external/skia/src/core/
SkCubicClipper.cpp 46 const SkScalar tol = SK_Scalar1 / 16384; // This leaves 2 fixed noise bits. local
66 converged = SkScalarAbs(t1 - t0) <= tol; // NaN-safe
96 const SkScalar tol = SK_Scalar1 / 65536; // 1 for fixed, 1e-5 for float.
113 } while (!(SkScalarAbs(tPos - tNeg) <= tol)); // Nan-safe
  /external/skia/gpu/src/
GrPathRenderer.cpp 200 GrScalar tol = GrPathUtils::gTolerance; local
204 tol /= 10;
206 tol = GrScalarDiv(tol, stretch);
208 GrScalar tolSqd = GrMul(tol, tol);
211 int maxPts = GrPathUtils::worstCasePointCount(path, &subpathCnt, tol);
351 GrPathUtils::quadraticPointCount(pts, tol));
357 GrPathUtils::cubicPointCount(pts, tol));
GrTesselatedPathRenderer.cpp 142 GrScalar tol = GrPathUtils::gTolerance; local
146 tol /= 10;
148 tol = GrScalarDiv(tol, stretch);
150 GrScalar tolSqd = GrMul(tol, tol);
153 int maxPts = GrPathUtils::worstCasePointCount(path, &subpathCnt, tol);
197 GrPathUtils::quadraticPointCount(pts, tol));
203 GrPathUtils::cubicPointCount(pts, tol));
351 int tol = GrPathUtils::gTolerance local
    [all...]

Completed in 529 milliseconds