Lines Matching refs:numParametricSegments
18 static float num_combined_segments(float numParametricSegments, float numRadialSegments) { in num_combined_segments() argument
34 return numParametricSegments + numRadialSegments - 1; in num_combined_segments()
379 float numParametricSegments = GrWangsFormula::root4(numParametricSegments_pow4); in internalConicPatchesTo() local
380 numParametricSegments = std::max(std::ceil(numParametricSegments), 1.f); in internalConicPatchesTo()
381 float numCombinedSegments = num_combined_segments(numParametricSegments, numRadialSegments); in internalConicPatchesTo()
388 maxDepth = sk_float_nextlog2(numParametricSegments) + in internalConicPatchesTo()
394 if (numParametricSegments >= numRadialSegments) { in internalConicPatchesTo()
403 float chopT = (numParametricSegments >= numRadialSegments) ? .5f in internalConicPatchesTo()
443 float numParametricSegments = GrWangsFormula::root4(numParametricSegments_pow4); in internalCubicConvex180PatchesTo() local
444 numParametricSegments = std::max(std::ceil(numParametricSegments), 1.f); in internalCubicConvex180PatchesTo()
445 float numCombinedSegments = num_combined_segments(numParametricSegments, numRadialSegments); in internalCubicConvex180PatchesTo()
453 maxDepth = sk_float_nextlog2(numParametricSegments) + in internalCubicConvex180PatchesTo()
457 if (numParametricSegments >= numRadialSegments) { in internalCubicConvex180PatchesTo()