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/gpu/ops/ |
D | GrQuadPerEdgeAA.cpp | 93 Sk4f invLengths = fma(dx, dx, dy * dy).rsqrt(); in get_metadata() local 100 return { dx * invLengths, dy * invLengths, invLengths, mask }; in get_metadata()
|