Home
last modified time | relevance | path

Searched refs:numRadialSegments (Results 1 – 2 of 2) sorted by relevance

/external/skia/src/gpu/tessellate/
DGrStrokeHardwareTessellator.cpp18 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()
[all …]
/external/skia/tests/
DStrokeIndirectTest.cpp341 float numRadialSegments = rotation * tolerances.fNumRadialSegmentsPerRadian; in verifyResolveLevels() local
342 float numSegments = numParametricSegments + numRadialSegments; in verifyResolveLevels()
386 float numRadialSegments = rotation * tolerances.fNumRadialSegmentsPerRadian; in verifyResolveLevels() local
387 float numSegments = numParametricSegments + numRadialSegments; in verifyResolveLevels()
478 float numRadialSegments = rotation * tolerances.fNumRadialSegmentsPerRadian; in verifyBuffers() local
479 float numSegments = numParametricSegments + numRadialSegments; in verifyBuffers()
480 float alternateNumSegments = alternateNumParametricSegments + numRadialSegments; in verifyBuffers()