Searched refs:nextCW (Results 1 – 2 of 2) sorted by relevance
/external/skqp/src/gpu/ops/ |
D | GrQuadPerEdgeAA.cpp | 29 static AI Sk4f nextCW(const Sk4f& v) { in nextCW() function 65 auto maskedOutset = -outset * nextCW(mask); in outset_masked_vertices() 68 *x += fma(maskedOutsetCW, nextCW(xdiff), maskedOutset * xdiff); in outset_masked_vertices() 69 *y += fma(maskedOutsetCW, nextCW(ydiff), maskedOutset * ydiff); in outset_masked_vertices() 73 maskedOutsetCW *= nextCW(invLengths); in outset_masked_vertices() 76 *u += fma(maskedOutsetCW, nextCW(udiff), maskedOutset * udiff); in outset_masked_vertices() 77 *v += fma(maskedOutsetCW, nextCW(vdiff), maskedOutset * vdiff); in outset_masked_vertices() 80 *r += fma(maskedOutsetCW, nextCW(rdiff), maskedOutset * rdiff); in outset_masked_vertices() 89 *x += fma(outsetCW, nextCW(xdiff), -outset * xdiff); in outset_vertices() 90 *y += fma(outsetCW, nextCW(ydiff), -outset * ydiff); in outset_vertices() [all …]
|
/external/skia/src/gpu/ops/ |
D | GrQuadPerEdgeAA.cpp | 58 static AI Sk4f nextCW(const Sk4f& v) { in nextCW() function 111 Sk4f test = fma(dy, nextCW(vertices.fX), fma(-dx, nextCW(vertices.fY), c)); in get_edge_equations() 136 Sk4f cosTheta = fma(metadata.fDX, nextCW(metadata.fDX), metadata.fDY * nextCW(metadata.fDY)); in get_optimized_outset() 150 nextCW(metadata.fMask) * (*outset); in get_optimized_outset() 161 auto maskedOutset = -outset * nextCW(metadata.fMask); in outset_vertices() 164 quad->fX += fma(maskedOutsetCW, nextCW(metadata.fDX), maskedOutset * metadata.fDX); in outset_vertices() 165 quad->fY += fma(maskedOutsetCW, nextCW(metadata.fDY), maskedOutset * metadata.fDY); in outset_vertices() 169 maskedOutsetCW *= nextCW(metadata.fInvLengths); in outset_vertices() 172 quad->fU += fma(maskedOutsetCW, nextCW(du), maskedOutset * du); in outset_vertices() 173 quad->fV += fma(maskedOutsetCW, nextCW(dv), maskedOutset * dv); in outset_vertices() [all …]
|