Searched refs:GrTFlagsMask (Results 1 – 2 of 2) sorted by relevance
26 template<typename TFlags> class GrTFlagsMask {28 constexpr explicit GrTFlagsMask(TFlags value) : GrTFlagsMask(static_cast<int>(value)) {} in GrTFlagsMask() function29 constexpr explicit GrTFlagsMask(int value) : fValue(value) {} in GrTFlagsMask() function40 [[maybe_unused]] constexpr GrTFlagsMask<X> operator~(X a) { \41 return GrTFlagsMask<X>(~static_cast<int>(a)); \52 [[maybe_unused]] constexpr GrTFlagsMask<X> operator|(GrTFlagsMask<X> a, GrTFlagsMask<X> b) { \53 return GrTFlagsMask<X>(a.value() | b.value()); \55 [[maybe_unused]] constexpr GrTFlagsMask<X> operator|(GrTFlagsMask<X> a, X b) { \56 return GrTFlagsMask<X>(a.value() | static_cast<int>(b)); \58 [[maybe_unused]] constexpr GrTFlagsMask<X> operator|(X a, GrTFlagsMask<X> b) { \[all …]
110 constexpr static GrTFlagsMask<PatchAttribs> kDynamicStatesMask(PatchAttribs::kStrokeParams | in onCombineIfPossible()