Searched refs:parametricPrecision (Results 1 – 3 of 3) sorted by relevance
/external/skia/src/gpu/tessellate/ |
D | GrStrokeTessellator.h | 66 static float CalcNumRadialSegmentsPerRadian(float parametricPrecision, in CalcNumRadialSegmentsPerRadian() 68 return .5f / acosf(std::max(1 - 2 / (parametricPrecision * strokeWidth), -1.f)); in CalcNumRadialSegmentsPerRadian() 71 float parametricPrecision, grvx::vec<N> strokeWidths) { in ApproxNumRadialSegmentsPerRadian() 72 grvx::vec<N> cosTheta = skvx::max(1 - 2 / (parametricPrecision * strokeWidths), -1); in ApproxNumRadialSegmentsPerRadian() 109 float parametricPrecision = CalcParametricPrecision(matrixMaxScale); in MakeNonHairline() local 110 return {parametricPrecision, in MakeNonHairline() 111 CalcNumRadialSegmentsPerRadian(parametricPrecision, strokeWidth)}; in MakeNonHairline() 122 GrStrokeToleranceBuffer(float parametricPrecision) in GrStrokeToleranceBuffer() argument 123 : fParametricPrecision(parametricPrecision) { in GrStrokeToleranceBuffer()
|
D | GrStrokeHardwareTessellator.cpp | 65 float parametricPrecision() const { in parametricPrecision() function in __anon078330680111::PatchWriter 693 patchWriter.parametricPrecision(), localStrokeWidth); in prepare() 699 GrStrokeToleranceBuffer toleranceBuffer(patchWriter.parametricPrecision()); in prepare() 765 GrWangsFormula::quadratic_pow4(patchWriter.parametricPrecision(), p); in prepare() 804 GrWangsFormula::quadratic_pow4(patchWriter.parametricPrecision(), p); in prepare() 829 GrWangsFormula::cubic_pow4(patchWriter.parametricPrecision(), p); in prepare()
|
D | GrStrokeFixedCountTessellator.cpp | 33 float parametricPrecision() const { return fParametricPrecision; } in parametricPrecision() function in __anon8c3ab0930111::InstanceWriter 220 instanceWriter.parametricPrecision(), localStrokeWidth); in prepare() 227 GrStrokeToleranceBuffer toleranceBuffer(instanceWriter.parametricPrecision()); in prepare()
|