Home
last modified time | relevance | path

Searched refs:GrTFlagsMask (Results 1 – 2 of 2) sorted by relevance

/external/skia/include/gpu/
DGrTypes.h64 template<typename TFlags> class GrTFlagsMask {
66 constexpr explicit GrTFlagsMask(TFlags value) : GrTFlagsMask(static_cast<int>(value)) {} in GrTFlagsMask() function
67 constexpr explicit GrTFlagsMask(int value) : fValue(value) {} in GrTFlagsMask() function
74 template<typename TFlags> constexpr GrTFlagsMask<TFlags> operator|(GrTFlagsMask<TFlags> a,
75 GrTFlagsMask<TFlags> b) {
76 return GrTFlagsMask<TFlags>(a.value() | b.value());
78 template<typename TFlags> constexpr GrTFlagsMask<TFlags> operator|(GrTFlagsMask<TFlags> a,
80 return GrTFlagsMask<TFlags>(a.value() | static_cast<int>(b));
82 template<typename TFlags> constexpr GrTFlagsMask<TFlags> operator|(TFlags a,
83 GrTFlagsMask<TFlags> b) {
[all …]
/external/skqp/include/gpu/
DGrTypes.h60 template<typename TFlags> class GrTFlagsMask {
62 constexpr explicit GrTFlagsMask(TFlags value) : GrTFlagsMask(static_cast<int>(value)) {} in GrTFlagsMask() function
63 constexpr explicit GrTFlagsMask(int value) : fValue(value) {} in GrTFlagsMask() function
70 template<typename TFlags> constexpr GrTFlagsMask<TFlags> operator|(GrTFlagsMask<TFlags> a,
71 GrTFlagsMask<TFlags> b) {
72 return GrTFlagsMask<TFlags>(a.value() | b.value());
74 template<typename TFlags> constexpr GrTFlagsMask<TFlags> operator|(GrTFlagsMask<TFlags> a,
76 return GrTFlagsMask<TFlags>(a.value() | static_cast<int>(b));
78 template<typename TFlags> constexpr GrTFlagsMask<TFlags> operator|(TFlags a,
79 GrTFlagsMask<TFlags> b) {
[all …]