Home
last modified time | relevance | path

Searched refs:length_term_pow2 (Results 1 – 2 of 2) sorted by relevance

/external/skia/src/gpu/geometry/
DGrWangsFormula.h32 template<int Degree> constexpr float length_term_pow2(float precision) { in length_term_pow2() function
66 return (vv[0] + vv[1]) * length_term_pow2<2>(precision);
93 return std::max(vv[0] + vv[1], vv[2] + vv[3]) * length_term_pow2<3>(precision);
122 float kk = length_term_pow2<3>(precision); in worst_case_cubic_log2()
/external/skia/src/gpu/tessellate/
DGrStrokeTessellateShader.cpp77 float m = CUBIC_TERM_POW2 * max(l0, l1);)", GrWangsFormula::length_term_pow2<3>(1)); in append_wangs_formula_fn()
81 m = (w > 0.0) ? QUAD_TERM_POW2 * l0 : m;)", GrWangsFormula::length_term_pow2<2>(1)); in append_wangs_formula_fn()