Home
last modified time | relevance | path

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

/external/skqp/src/gpu/ops/
DGrQuadPerEdgeAA.cpp49 const Sk4f& ynext, Sk4f* xdiff, Sk4f* ydiff, Sk4f* invLengths) { in compute_edge_vectors() argument
50 *xdiff = xnext - x; in compute_edge_vectors()
52 *invLengths = fma(*xdiff, *xdiff, *ydiff * *ydiff).rsqrt(); in compute_edge_vectors()
53 *xdiff *= *invLengths; in compute_edge_vectors()
60 static AI void outset_masked_vertices(const Sk4f& outset, const Sk4f& outsetCW, const Sk4f& xdiff, in outset_masked_vertices() argument
68 *x += fma(maskedOutsetCW, nextCW(xdiff), maskedOutset * xdiff); in outset_masked_vertices()
85 static AI void outset_vertices(const Sk4f& outset, const Sk4f& outsetCW, const Sk4f& xdiff, in outset_vertices() argument
89 *x += fma(outsetCW, nextCW(xdiff), -outset * xdiff); in outset_vertices()
107 static void adjust_non_rectilinear_outset(const Sk4f& xdiff, const Sk4f& ydiff, Sk4f* outset) { in adjust_non_rectilinear_outset() argument
110 Sk4f cosTheta = fma(xdiff, nextCW(xdiff), ydiff * nextCW(ydiff)); in adjust_non_rectilinear_outset()
[all …]