Home
last modified time | relevance | path

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

/external/skia/src/gpu/tessellate/
DGrStrokeTessellator.h55 struct GrStrokeTolerances { struct
103 static GrStrokeTolerances Make(const float matrixMinMaxScales[2], float strokeWidth) { in Make() argument
107 static GrStrokeTolerances MakeNonHairline(float matrixMaxScale, float strokeWidth) { in MakeNonHairline() argument
138 auto tol = GrStrokeTolerances::ApproxNumRadialSegmentsPerRadian(fParametricPrecision, in fetchRadialSegmentsPerRadian()
DGrStrokeTessellateShader.cpp422 GrStrokeTolerances tolerances; in setData()
424 tolerances = GrStrokeTolerances::MakeNonHairline(shader.viewMatrix().getMaxScale(), in setData()
429 tolerances = GrStrokeTolerances::MakeNonHairline(1, 1); in setData()
440 pdman.set1f(fTessArgsUniform, GrStrokeTolerances::CalcParametricPrecision(maxScale)); in setData()
1279 GrStrokeTolerances tolerances; in setData()
1281 tolerances = GrStrokeTolerances::MakeNonHairline(shader.viewMatrix().getMaxScale(), in setData()
1286 tolerances = GrStrokeTolerances::MakeNonHairline(1, 1); in setData()
1298 GrStrokeTolerances::CalcParametricPrecision(maxScale)); in setData()
DGrStrokeFixedCountTessellator.cpp30 , fParametricPrecision(GrStrokeTolerances::CalcParametricPrecision(matrixMaxScale)) { in InstanceWriter()
217 float localStrokeWidth = GrStrokeTolerances::GetLocalStrokeWidth(matrixMinMaxScales.data(), in prepare()
219 float numRadialSegmentsPerRadian = GrStrokeTolerances::CalcNumRadialSegmentsPerRadian( in prepare()
DGrStrokeHardwareTessellator.cpp60 , fParametricPrecision(GrStrokeTolerances::CalcParametricPrecision(matrixMaxScale)) { in PatchWriter()
690 float localStrokeWidth = GrStrokeTolerances::GetLocalStrokeWidth(matrixMinMaxScales.data(), in prepare()
692 float numRadialSegmentsPerRadian = GrStrokeTolerances::CalcNumRadialSegmentsPerRadian( in prepare()
DGrStrokeIndirectTessellator.cpp78 fTolerances = GrStrokeTolerances::Make(fMatrixMinMaxScales.data(), strokeWidth); in updateTolerances()
433 GrStrokeTolerances fTolerances;
/external/skia/tests/
DStrokeIndirectTest.cpp273 auto tolerances = GrStrokeTolerances::MakeNonHairline(viewMatrix.getMaxScale(), in verifyResolveLevels()
443 auto tolerances = GrStrokeTolerances::MakeNonHairline(viewMatrix.getMaxScale(), in verifyBuffers()