Lines Matching refs:srcQuad
62 filter_and_mm_have_effect(const GrQuad& srcQuad, const GrQuad& dstQuad) { in filter_and_mm_have_effect() argument
64 if (srcQuad.quadType() != GrQuad::Type::kAxisAligned || in filter_and_mm_have_effect()
71 if (srcQuad.asRect(&srcRect) && dstQuad.asRect(&dstRect)) { in filter_and_mm_have_effect()
83 SkSize srcSize = axis_aligned_quad_size(srcQuad); in filter_and_mm_have_effect()
90 !SkScalarIsInt(srcQuad.x(0)) || in filter_and_mm_have_effect()
91 !SkScalarIsInt(srcQuad.y(0)) || in filter_and_mm_have_effect()
168 GrQuad* srcQuad) { in normalize_src_quad() argument
170 SkASSERT(!srcQuad->hasPerspective()); in normalize_src_quad()
171 skvx::Vec<4, float> xs = srcQuad->x4f() * params.fIW; in normalize_src_quad()
172 skvx::Vec<4, float> ys = srcQuad->y4f() * params.fInvH + params.fYOffset; in normalize_src_quad()
173 xs.store(srcQuad->xs()); in normalize_src_quad()
174 ys.store(srcQuad->ys()); in normalize_src_quad()