Home
last modified time | relevance | path

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

/external/skia/src/gpu/batches/
DGrAAHairLinePathRenderer.cpp173 static int is_degen_quad_or_conic(const SkPoint p[3], SkScalar* dsqd) { in is_degen_quad_or_conic() argument
183 *dsqd = p[1].distanceToLineBetweenSqd(p[0], p[2]); in is_degen_quad_or_conic()
184 if (*dsqd < gDegenerateToLineTolSqd) { in is_degen_quad_or_conic()
195 SkScalar dsqd; in is_degen_quad_or_conic() local
196 return is_degen_quad_or_conic(p, &dsqd); in is_degen_quad_or_conic()
202 SkScalar dsqd; in num_quad_subdivs() local
203 if (is_degen_quad_or_conic(p, &dsqd)) { in num_quad_subdivs()
213 if (dsqd <= SkScalarMul(gSubdivTol, gSubdivTol)) { in num_quad_subdivs()
222 int log = get_float_exp(dsqd/(gSubdivTol*gSubdivTol)) + 1; in num_quad_subdivs()