#include "src/gpu/ganesh/geometry/GrQuad.h"
#include "include/core/SkMatrix.h"
#include "include/private/gpu/ganesh/GrTypesPriv.h"
V4f;
static bool aa_affects_rect(GrQuadAAFlags edgeFlags, float ql, float qt, float qr, float qb) { … }
static void map_rect_translate_scale(const SkRect& rect, const SkMatrix& m,
V4f* xs, V4f* ys) { … }
static void map_quad_general(const V4f& qx, const V4f& qy, const SkMatrix& m,
V4f* xs, V4f* ys, V4f* ws) { … }
static void map_rect_general(const SkRect& rect, const SkMatrix& matrix,
V4f* xs, V4f* ys, V4f* ws) { … }
static void rearrange_sk_to_gr_points(const SkPoint skQuadPts[4], V4f* xs, V4f* ys) { … }
static GrQuad::Type quad_type_for_transformed_rect(const SkMatrix& matrix) { … }
static GrQuad::Type quad_type_for_points(const SkPoint pts[4], const SkMatrix& matrix) { … }
GrQuad GrQuad::MakeFromRect(const SkRect& rect, const SkMatrix& m) { … }
GrQuad GrQuad::MakeFromSkQuad(const SkPoint pts[4], const SkMatrix& matrix) { … }
bool GrQuad::aaHasEffectOnRect(GrQuadAAFlags edgeFlags) const { … }
bool GrQuad::asRect(SkRect* rect) const { … }