Lines Matching refs:GrQuad
72 static GrQuad::Type quad_type_for_transformed_rect(const SkMatrix& matrix) { in quad_type_for_transformed_rect()
74 return GrQuad::Type::kAxisAligned; in quad_type_for_transformed_rect()
76 return GrQuad::Type::kRectilinear; in quad_type_for_transformed_rect()
78 return GrQuad::Type::kPerspective; in quad_type_for_transformed_rect()
80 return GrQuad::Type::kGeneral; in quad_type_for_transformed_rect()
86 static GrQuad::Type quad_type_for_points(const SkPoint pts[4], const SkMatrix& matrix) { in quad_type_for_points()
88 return GrQuad::Type::kPerspective; in quad_type_for_points()
97 return GrQuad::Type::kGeneral; in quad_type_for_points()
101 GrQuad GrQuad::MakeFromRect(const SkRect& rect, const SkMatrix& m) { in MakeFromRect()
113 return GrQuad(x, y, w, type); in MakeFromRect()
116 GrQuad GrQuad::MakeFromSkQuad(const SkPoint pts[4], const SkMatrix& matrix) { in MakeFromSkQuad()
121 return GrQuad(xs, ys, 1.f, type); in MakeFromSkQuad()
125 return GrQuad(mx, my, mw, type); in MakeFromSkQuad()
129 bool GrQuad::aaHasEffectOnRect() const { in aaHasEffectOnRect()
135 bool GrQuad::asRect(SkRect* rect) const { in asRect()