• Home
  • Raw
  • Download

Lines Matching refs:numRadialSegments

18 static float num_combined_segments(float numParametricSegments, float numRadialSegments) {  in num_combined_segments()  argument
34 return numParametricSegments + numRadialSegments - 1; in num_combined_segments()
377 float numRadialSegments = SkMeasureQuadRotation(p) * fNumRadialSegmentsPerRadian; in internalConicPatchesTo() local
378 numRadialSegments = std::max(std::ceil(numRadialSegments), 1.f); in internalConicPatchesTo()
381 float numCombinedSegments = num_combined_segments(numParametricSegments, numRadialSegments); in internalConicPatchesTo()
389 sk_float_nextlog2(numRadialSegments) + 1; in internalConicPatchesTo()
394 if (numParametricSegments >= numRadialSegments) { in internalConicPatchesTo()
403 float chopT = (numParametricSegments >= numRadialSegments) ? .5f in internalConicPatchesTo()
441 float numRadialSegments = SkMeasureNonInflectCubicRotation(p) * fNumRadialSegmentsPerRadian; in internalCubicConvex180PatchesTo() local
442 numRadialSegments = std::max(std::ceil(numRadialSegments), 1.f); in internalCubicConvex180PatchesTo()
445 float numCombinedSegments = num_combined_segments(numParametricSegments, numRadialSegments); in internalCubicConvex180PatchesTo()
454 sk_float_nextlog2(numRadialSegments) + 1; in internalCubicConvex180PatchesTo()
457 if (numParametricSegments >= numRadialSegments) { in internalCubicConvex180PatchesTo()
528 float numRadialSegments = rotation * fNumRadialSegmentsPerRadian; in internalJoinTo() local
529 if (numRadialSegments > fMaxTessellationSegments) { in internalJoinTo()
535 maxDepth = sk_float_nextlog2(numRadialSegments / fMaxTessellationSegments); in internalJoinTo()