• Home
  • Raw
  • Download

Lines Matching refs:x2d

324         V4f x2d = xs / ws;  in projectedBounds()  local
328 min(if_then_else(clipW, V4f(SK_ScalarInfinity), x2d)), in projectedBounds()
330 max(if_then_else(clipW, V4f(SK_ScalarNegativeInfinity), x2d)), in projectedBounds()
336 x2d = (t * next_ccw(xs) + (1.f - t) * xs) / SkPathPriv::kW0PlaneDistance; in projectedBounds()
341 min(if_then_else(clipW, x2d, V4f(frontBounds.fLeft))), in projectedBounds()
343 max(if_then_else(clipW, x2d, V4f(frontBounds.fRight))), in projectedBounds()
349 V4f x2d = xs * ws; in projectedBounds() local
351 return {min(x2d), min(y2d), max(x2d), max(y2d)}; in projectedBounds()
702 V4f TessellationHelper::EdgeEquations::estimateCoverage(const V4f& x2d, const V4f& y2d) const { in estimateCoverage() argument
704 V4f d0 = fA[0]*x2d + (fB[0]*y2d + fC[0]); in estimateCoverage()
705 V4f d1 = fA[1]*x2d + (fB[1]*y2d + fC[1]); in estimateCoverage()
706 V4f d2 = fA[2]*x2d + (fB[2]*y2d + fC[2]); in estimateCoverage()
707 V4f d3 = fA[3]*x2d + (fB[3]*y2d + fC[3]); in estimateCoverage()
722 V4f* x2d, V4f* y2d, in computeDegenerateQuad() argument
726 V4f d = (*x2d)*fA[i] + (*y2d)*fB[i] + fC[i]; in computeDegenerateQuad()
770 *x2d = px; in computeDegenerateQuad()
777 SkPoint center = {0.25f * ((*x2d)[0] + (*x2d)[1] + (*x2d)[2] + (*x2d)[3]), in computeDegenerateQuad()
779 *x2d = center.fX; in computeDegenerateQuad()
788 *x2d = 0.5f * (skvx::shuffle<0, 1, 0, 1>(px) + skvx::shuffle<2, 3, 2, 3>(px)); in computeDegenerateQuad()
796 *x2d = 0.5f * (skvx::shuffle<0, 0, 2, 2>(px) + skvx::shuffle<1, 1, 3, 3>(px)); in computeDegenerateQuad()
847 *x2d = px; in computeDegenerateQuad()
980 void TessellationHelper::Vertices::moveTo(const V4f& x2d, const V4f& y2d, const M4f& mask) { in moveTo() argument
1000 V4f c1x = e1w * x2d - e1x; in moveTo()
1002 V4f c2x = e2w * x2d - e2x; in moveTo()
1004 V4f c3x = fW * x2d - fX; in moveTo()
1219 V4f x2d = fEdgeVectors.fX2D; in adjustDegenerateVertices() local
1224 &x2d, &y2d, &aaMask); in adjustDegenerateVertices()
1225 vertices->moveTo(x2d, y2d, aaMask); in adjustDegenerateVertices()