Lines Matching defs:next_ccw

36 static AI skvx::Vec<4, T> next_ccw(const skvx::Vec<4, T>& v) {
41 // Same as next_ccw(next_ccw(v)), or next_cw(next_cw(v)), e.g. two rotations either direction.
61 *c1 = if_then_else(bad, next_ccw(*c1), *c1);
62 *c2 = if_then_else(bad, next_ccw(*c2), *c2);
64 *c3 = if_then_else(bad, next_ccw(*c3), *c3);
335 V4f t = (SkPathPriv::kW0PlaneDistance - ws) / (next_ccw(ws) - ws);
336 x2d = (t * next_ccw(xs) + (1.f - t) * xs) / SkPathPriv::kW0PlaneDistance;
337 y2d = (t * next_ccw(ys) + (1.f - t) * ys) / SkPathPriv::kW0PlaneDistance;
339 clipW = clipW ^ (next_ccw(ws) < SkPathPriv::kW0PlaneDistance);
427 V4f t = (SkPathPriv::kW0PlaneDistance - v.fW) / (next_ccw(v.fW) - v.fW);
430 clip.fX = (t * next_ccw(v.fX) + (1.f - t) * v.fX);
431 clip.fY = (t * next_ccw(v.fY) + (1.f - t) * v.fY);
434 clip.fU = (t * next_ccw(v.fU) + (1.f - t) * v.fU);
435 clip.fV = (t * next_ccw(v.fV) + (1.f - t) * v.fV);
436 clip.fR = (t * next_ccw(v.fR) + (1.f - t) * v.fR);
438 M4f ccwValid = next_ccw(v.fW) >= SkPathPriv::kW0PlaneDistance;
450 if_then_else((!ccwValid) & (!cwValid), next_ccw(clip.fX),
453 if_then_else((!ccwValid) & (!cwValid), next_ccw(clip.fY),
458 if_then_else((!ccwValid) & (!cwValid), next_ccw(clip.fU),
461 if_then_else((!ccwValid) & (!cwValid), next_ccw(clip.fV),
464 if_then_else((!ccwValid) & (!cwValid), next_ccw(clip.fR),
476 mid.fX = 0.5f * (v.fX + next_ccw(v.fX));
477 mid.fY = 0.5f * (v.fY + next_ccw(v.fY));
478 mid.fW = 0.5f * (v.fW + next_ccw(v.fW));
480 mid.fU = 0.5f * (v.fU + next_ccw(v.fU));
481 mid.fV = 0.5f * (v.fV + next_ccw(v.fV));
482 mid.fR = 0.5f * (v.fR + next_ccw(v.fR));
673 fDX = next_ccw(fX2D) - fX2D;
674 fDY = next_ccw(fY2D) - fY2D;
870 *aaMask = *aaMask | (d1Or2 & next_cw(*aaMask)) | (next_ccw(d1Or2) & next_ccw(*aaMask));
917 V4f edgeAdjust = edgeDistances * (halfTanTheta + next_ccw(halfTanTheta)) +
918 next_ccw(edgeDistances) * next_ccw(edgeVectors.fInvSinTheta) +
993 V4f du = next_ccw(fU) - fU;
994 V4f dv = next_ccw(fV) - fV;
998 V4f dr = next_ccw(fR) - fR;