Lines Matching refs:M4f
17 using M4f = skvx::Vec<4, int32_t>; typedef
47 static AI void correct_bad_edges(const M4f& bad, V4f* e1, V4f* e2, V4f* e3) { in correct_bad_edges()
59 static AI void correct_bad_coords(const M4f& bad, V4f* c1, V4f* c2, V4f* c3) { in correct_bad_coords()
312 static M4f inside_triangle(const V4f& u, const V4f& v, const V4f& w) { in inside_triangle()
322 M4f clipW = ws < SkPathPriv::kW0PlaneDistance; in projectedBounds()
401 M4f validW = quad->fDevice.w4f() >= SkPathPriv::kW0PlaneDistance; in ClipToW0()
438 M4f ccwValid = next_ccw(v.fW) >= SkPathPriv::kW0PlaneDistance; in ClipToW0()
439 M4f cwValid = next_cw(v.fW) >= SkPathPriv::kW0PlaneDistance; in ClipToW0()
612 M4f inTri1 = inside_triangle(u1, v1, w1); in CropToRect()
613 M4f inTri2 = inside_triangle(u2, v2, w2); in CropToRect()
723 M4f* aaMask) const { in computeDegenerateQuad()
728 *aaMask = M4f(0); in computeDegenerateQuad()
762 M4f d1v0 = dists1 < kDistTolerance; in computeDegenerateQuad()
763 M4f d2v0 = dists2 < kDistTolerance; in computeDegenerateQuad()
764 M4f d1And2 = d1v0 & d2v0; in computeDegenerateQuad()
765 M4f d1Or2 = d1v0 | d2v0; in computeDegenerateQuad()
793 *aaMask = *aaMask | M4f({1, 0, 0, 1}); in computeDegenerateQuad()
798 *aaMask = *aaMask | M4f({0, 1, 1, 0}); in computeDegenerateQuad()
980 void TessellationHelper::Vertices::moveTo(const V4f& x2d, const V4f& y2d, const M4f& mask) { in moveTo()
985 M4f e1Bad = e1x*e1x + e1y*e1y < kDist2Tolerance; in moveTo()
992 M4f e2Bad = e2x*e2x + e2y*e2y < kDist2Tolerance; in moveTo()
1016 M4f aMask = skvx::shuffle<0, 0, 3, 3>(mask); in moveTo()
1017 M4f bMask = skvx::shuffle<2, 1, 2, 1>(mask); in moveTo()
1023 M4f useC1x = abs(c1x) > abs(c1y); in moveTo()
1024 M4f useC2x = abs(c2x) > abs(c2y); in moveTo()
1210 M4f crossedEdges = halfLengths > signedEdgeDistances; in adjustDegenerateVertices()
1222 M4f aaMask; in adjustDegenerateVertices()