Lines Matching refs:fW
427 V4f t = (SkPathPriv::kW0PlaneDistance - v.fW) / (next_ccw(v.fW) - v.fW);
432 clip.fW = SkPathPriv::kW0PlaneDistance;
438 M4f ccwValid = next_ccw(v.fW) >= SkPathPriv::kW0PlaneDistance;
439 M4f cwValid = next_cw(v.fW) >= SkPathPriv::kW0PlaneDistance;
455 v.fW = if_then_else(validW, v.fW, clip.fW);
478 mid.fW = 0.5f * (v.fW + next_ccw(v.fW));
492 v2.fW = if_then_else((!validW) | (!ccwValid), clip.fW,
493 if_then_else(cwValid, next_cw(mid.fW), v.fW));
514 v.fW = if_then_else(!validW, clip.fW,
515 if_then_else(!cwValid, mid.fW, v.fW));
936 fW = deviceQuad.w4f();
956 fW.store(deviceOut->ws());
1008 V4f e1w = skvx::shuffle<2, 3, 2, 3>(fW) - skvx::shuffle<0, 1, 0, 1>(fW);
1015 V4f e2w = skvx::shuffle<1, 1, 3, 3>(fW) - skvx::shuffle<0, 0, 2, 2>(fW);
1028 V4f c3x = fW * x2d - fX;
1029 V4f c3y = fW * y2d - fY;
1072 fW += a * e1w + b * e2w;
1074 // If fW has gone negative, flip the point to the other side of w=0. This only happens if the
1079 if (any(fW < 0.f)) {
1080 V4f scale = if_then_else(fW < 0.f, V4f(-1.f), V4f(1.f));
1083 fW *= scale;
1086 correct_bad_coords(abs(denom) < kTolerance, &fX, &fY, &fW);
1124 fEdgeVectors.reset(fOriginal.fX, fOriginal.fY, fOriginal.fW, fDeviceType);
1147 return this->getEdgeEquations().estimateCoverage(inset.fX / inset.fW,
1148 inset.fY / inset.fW);