Lines Matching refs:invLengths
49 const Sk4f& ynext, Sk4f* xdiff, Sk4f* ydiff, Sk4f* invLengths) { in compute_edge_vectors() argument
52 *invLengths = fma(*xdiff, *xdiff, *ydiff * *ydiff).rsqrt(); in compute_edge_vectors()
53 *xdiff *= *invLengths; in compute_edge_vectors()
54 *ydiff *= *invLengths; in compute_edge_vectors()
61 const Sk4f& ydiff, const Sk4f& invLengths, const Sk4f& mask, in outset_masked_vertices() argument
72 maskedOutset *= invLengths; in outset_masked_vertices()
73 maskedOutsetCW *= nextCW(invLengths); in outset_masked_vertices()
86 const Sk4f& ydiff, const Sk4f& invLengths, in outset_vertices() argument
92 Sk4f t = -outset * invLengths; // Bake minus sign in here in outset_vertices()
93 Sk4f tCW = outsetCW * nextCW(invLengths); in outset_vertices()
130 Sk4f xdiff, ydiff, invLengths; in compute_nested_quad_vertices() local
131 compute_edge_vectors(*x1, *y1, xnext, ynext, &xdiff, &ydiff, &invLengths); in compute_nested_quad_vertices()
143 Sk4f lengths = invLengths.invert(); in compute_nested_quad_vertices()
162 outset_masked_vertices(outset, outsetCW, xdiff, ydiff, invLengths, mask, x1, y1, in compute_nested_quad_vertices()
164 outset_masked_vertices(inset, insetCW, xdiff, ydiff, invLengths, mask, x2, y2, in compute_nested_quad_vertices()
167 … outset_vertices(outset, outsetCW, xdiff, ydiff, invLengths, x1, y1, u1, v1, r1, uvrCount); in compute_nested_quad_vertices()
168 outset_vertices(inset, insetCW, xdiff, ydiff, invLengths, x2, y2, u2, v2, r2, uvrCount); in compute_nested_quad_vertices()
176 outset_masked_vertices(outset, outset, xdiff, ydiff, invLengths, mask, x1, y1, in compute_nested_quad_vertices()
178 outset_masked_vertices(inset, inset, xdiff, ydiff, invLengths, mask, x2, y2, in compute_nested_quad_vertices()
181 outset_vertices(outset, outset, xdiff, ydiff, invLengths, x1, y1, u1, v1, r1, uvrCount); in compute_nested_quad_vertices()
182 outset_vertices(inset, inset, xdiff, ydiff, invLengths, x2, y2, u2, v2, r2, uvrCount); in compute_nested_quad_vertices()
225 Sk4f xdiff, ydiff, invLengths; in compute_quad_persp_vertices() local
226 compute_edge_vectors(x2d, y2d, nextCCW(x2d), nextCCW(y2d), &xdiff, &ydiff, &invLengths); in compute_quad_persp_vertices()