Home
last modified time | relevance | path

Searched refs:kLinearizationPrecision (Results 1 – 5 of 5) sorted by relevance

/external/skia/src/gpu/tessellate/
DGrPathTessellator.cpp27 level = GrWangsFormula::conic_log2(1.f / kLinearizationPrecision, pts, *w, xform); in GrPathIndirectTessellator()
30 level = GrWangsFormula::quadratic_log2(kLinearizationPrecision, pts, xform); in GrPathIndirectTessellator()
33 level = GrWangsFormula::cubic_log2(kLinearizationPrecision, pts, xform); in GrPathIndirectTessellator()
182 level = GrWangsFormula::conic_log2(1.f / kLinearizationPrecision, pts, *w, in prepare()
186 level = GrWangsFormula::quadratic_log2(kLinearizationPrecision, pts, xform); in prepare()
189 level = GrWangsFormula::cubic_log2(kLinearizationPrecision, pts, xform); in prepare()
DGrTessellationPathRenderer.cpp87 float k = GrWangsFormula::length_term<3>(kLinearizationPrecision); in initAtlasFlags()
122 kLinearizationPrecision, worstCaseWidth, worstCaseHeight), s, 1)); in initAtlasFlags()
156 constexpr static auto kLinearizationPrecision = in make_op() local
157 GrTessellationPathRenderer::kLinearizationPrecision; in make_op()
168 int worstCaseResolveLevel = GrWangsFormula::worst_case_cubic_log2(kLinearizationPrecision, in make_op()
204 worstCaseResolveLevel = GrWangsFormula::worst_case_cubic_log2(kLinearizationPrecision, in make_op()
271 int worstCaseNumSegments = GrWangsFormula::worst_case_cubic(kLinearizationPrecision, in onDrawPath()
DGrPathTessellator.h59 constexpr static float kLinearizationPrecision =
60 GrTessellationPathRenderer::kLinearizationPrecision;
DGrTessellationPathRenderer.h23 constexpr static float kLinearizationPrecision = 4;
DGrStrokeTessellator.h61 return matrixMaxScale * GrTessellationPathRenderer::kLinearizationPrecision; in CalcParametricPrecision()