Lines Matching refs:GrSwizzle
17 class GrSwizzle {
19 constexpr GrSwizzle() : GrSwizzle("rgba") {} in GrSwizzle() function
21 constexpr GrSwizzle(const GrSwizzle& that) in GrSwizzle() function
25 constexpr GrSwizzle& operator=(const GrSwizzle& that) {
45 constexpr bool operator==(const GrSwizzle& that) const { return fKey == that.fKey; }
46 constexpr bool operator!=(const GrSwizzle& that) const { return !(*this == that); }
78 static constexpr GrSwizzle RGBA() { return GrSwizzle("rgba"); } in RGBA()
79 static constexpr GrSwizzle AAAA() { return GrSwizzle("aaaa"); } in AAAA()
80 static constexpr GrSwizzle RRRR() { return GrSwizzle("rrrr"); } in RRRR()
81 static constexpr GrSwizzle RRRA() { return GrSwizzle("rrra"); } in RRRA()
82 static constexpr GrSwizzle BGRA() { return GrSwizzle("bgra"); } in BGRA()
83 static constexpr GrSwizzle RGRG() { return GrSwizzle("rgrg"); } in RGRG()
109 constexpr GrSwizzle(const char c[4]) in GrSwizzle() function