Searched refs:y2d (Results 1 – 3 of 3) sorted by relevance
/third_party/skia/src/gpu/geometry/ |
D | GrQuadUtils.cpp | 325 V4f y2d = ys / ws; in projectedBounds() local 329 min(if_then_else(clipW, V4f(SK_ScalarInfinity), y2d)), in projectedBounds() 331 max(if_then_else(clipW, V4f(SK_ScalarNegativeInfinity), y2d)) in projectedBounds() 337 y2d = (t * next_ccw(ys) + (1.f - t) * ys) / SkPathPriv::kW0PlaneDistance; in projectedBounds() 342 min(if_then_else(clipW, y2d, V4f(frontBounds.fTop))), in projectedBounds() 344 max(if_then_else(clipW, y2d, V4f(frontBounds.fBottom))) in projectedBounds() 350 V4f y2d = ys * ws; in projectedBounds() local 351 return {min(x2d), min(y2d), max(x2d), max(y2d)}; in projectedBounds() 715 V4f TessellationHelper::EdgeEquations::estimateCoverage(const V4f& x2d, const V4f& y2d) const { in estimateCoverage() 717 V4f d0 = fA[0]*x2d + (fB[0]*y2d + fC[0]); in estimateCoverage() [all …]
|
D | GrQuadUtils.h | 129 const skvx::Vec<4, float>& y2d) const; 131 bool isSubpixel(const skvx::Vec<4, float>& x2d, const skvx::Vec<4, float>& y2d) const; 137 skvx::Vec<4, float>* x2d, skvx::Vec<4, float>* y2d, 181 const skvx::Vec<4, float>& y2d,
|
/third_party/flutter/skia/src/gpu/ops/ |
D | GrQuadPerEdgeAA.cpp | 190 static void outset_projected_vertices(const V4f& x2d, const V4f& y2d, in outset_projected_vertices() argument 210 V4f c1y = e1w * y2d - e1y; in outset_projected_vertices() 212 V4f c2y = e2w * y2d - e2y; in outset_projected_vertices() 214 V4f c3y = quad->fW * y2d - quad->fY; in outset_projected_vertices() 626 V4f y2d = inner->fY * iw; in compute_nested_persp_quad_vertices() local 628 Vertices inner2D = { x2d, y2d, /*w*/ 1.f, 0.f, 0.f, 0.f, 0 }; // No uvr outsetting in 2D in compute_nested_persp_quad_vertices()
|