Home
last modified time | relevance | path

Searched defs:GrStrokeTolerances (Results 1 – 1 of 1) sorted by relevance

/external/skia/src/gpu/tessellate/
DGrStrokeTessellator.h55 struct GrStrokeTolerances { struct
60 constexpr static float CalcParametricPrecision(float matrixMaxScale) { in CalcParametricPrecision()
66 static float CalcNumRadialSegmentsPerRadian(float parametricPrecision, in CalcNumRadialSegmentsPerRadian()
70 template<int N> static grvx::vec<N> ApproxNumRadialSegmentsPerRadian( in ApproxNumRadialSegmentsPerRadian()
79 static float GetLocalStrokeWidth(const float matrixMinMaxScales[2], float strokeWidth) { in GetLocalStrokeWidth()
103 static GrStrokeTolerances Make(const float matrixMinMaxScales[2], float strokeWidth) { in Make() argument
107 static GrStrokeTolerances MakeNonHairline(float matrixMaxScale, float strokeWidth) { in MakeNonHairline() argument
128 // this changes, we will need to call GrStrokeTolerances::GetLocalStrokeWidth() for each in fetchRadialSegmentsPerRadian() argument