Searched refs:kLinearizationPrecision (Results 1 – 5 of 5) sorted by relevance
/external/skia/src/gpu/tessellate/ |
D | GrPathTessellator.cpp | 27 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()
|
D | GrTessellationPathRenderer.cpp | 87 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()
|
D | GrPathTessellator.h | 59 constexpr static float kLinearizationPrecision = 60 GrTessellationPathRenderer::kLinearizationPrecision;
|
D | GrTessellationPathRenderer.h | 23 constexpr static float kLinearizationPrecision = 4;
|
D | GrStrokeTessellator.h | 61 return matrixMaxScale * GrTessellationPathRenderer::kLinearizationPrecision; in CalcParametricPrecision()
|