Searched refs:invLengths (Results 1 – 2 of 2) sorted by relevance
/external/skqp/src/gpu/ops/ |
D | GrQuadPerEdgeAA.cpp | 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() [all …]
|
/external/skia/src/core/ |
D | SkGeometry.cpp | 205 Sk2f invLengths = 1.0f / (x0_x1 * x0_x1 + y0_y1 * y0_y1).sqrt(); in SkFindBisector() local 206 x0_x1 *= invLengths; in SkFindBisector() 207 y0_y1 *= invLengths; in SkFindBisector()
|