Home
last modified time | relevance | path

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

/external/skia/src/gpu/
DGrAAHairLinePathRenderer.cpp172 static int is_degen_quad_or_conic(const SkPoint p[3], SkScalar* dsqd) { in is_degen_quad_or_conic() argument
182 *dsqd = p[1].distanceToLineBetweenSqd(p[0], p[2]); in is_degen_quad_or_conic()
183 if (*dsqd < gDegenerateToLineTolSqd) { in is_degen_quad_or_conic()
194 SkScalar dsqd; in is_degen_quad_or_conic() local
195 return is_degen_quad_or_conic(p, &dsqd); in is_degen_quad_or_conic()
201 SkScalar dsqd; in num_quad_subdivs() local
202 if (is_degen_quad_or_conic(p, &dsqd)) { in num_quad_subdivs()
212 if (dsqd <= SkScalarMul(gSubdivTol, gSubdivTol)) { in num_quad_subdivs()
221 int log = get_float_exp(dsqd/(gSubdivTol*gSubdivTol)) + 1; in num_quad_subdivs()