• Home
  • Raw
  • Download

Lines Matching refs:maxDepth

358                                 int maxDepth = -1) {  in internalConicPatchesTo()  argument
382 if (this->stroke180FitsInPatch(numParametricSegments_pow4) || maxDepth == 0) { in internalConicPatchesTo()
398 if (maxDepth < 0) { in internalConicPatchesTo()
402 maxDepth = sk_float_nextlog2(numParametricSegments) + in internalConicPatchesTo()
404 maxDepth = std::max(maxDepth, 1); in internalConicPatchesTo()
413 this->internalConicPatchesTo(prevJoinType, chops, 1, maxDepth - 1); in internalConicPatchesTo()
414 this->internalConicPatchesTo(JoinType::kBowtie, chops + 2, 1, maxDepth - 1); in internalConicPatchesTo()
422 maxDepth - 1); in internalConicPatchesTo()
424 maxDepth - 1); in internalConicPatchesTo()
437 int maxDepth = -1) { in internalCubicConvex180PatchesTo() argument
446 if (this->stroke180FitsInPatch(numParametricSegments_pow4) || maxDepth == 0) { in internalCubicConvex180PatchesTo()
463 if (maxDepth < 0) { in internalCubicConvex180PatchesTo()
467 maxDepth = sk_float_nextlog2(numParametricSegments) + in internalCubicConvex180PatchesTo()
469 maxDepth = std::max(maxDepth, 1); in internalCubicConvex180PatchesTo()
476 this->internalCubicConvex180PatchesTo(prevJoinType, chops, maxDepth - 1); in internalCubicConvex180PatchesTo()
477 this->internalCubicConvex180PatchesTo(JoinType::kBowtie, chops + 3, maxDepth - 1); in internalCubicConvex180PatchesTo()
531 int maxDepth = -1) { in internalJoinTo() argument
537 if (!fSoloRoundJoinAlwaysFitsInPatch && maxDepth != 0 && in internalJoinTo()
546 if (maxDepth < 0) { in internalJoinTo()
549 maxDepth = sk_float_nextlog2(numRadialSegments / fMaxTessellationSegments); in internalJoinTo()
550 maxDepth = std::max(maxDepth, 1); in internalJoinTo()
568 this->internalJoinTo(joinType, junctionPoint, c0, maxDepth - 1); in internalJoinTo()
571 this->internalJoinTo(joinType, junctionPoint, nextControlPoint, maxDepth - 1); in internalJoinTo()