Home
last modified time | relevance | path

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

/external/skia/include/gpu/
DGrTypes.h26 template<typename TFlags> class GrTFlagsMask {
28 constexpr explicit GrTFlagsMask(TFlags value) : GrTFlagsMask(static_cast<int>(value)) {} in GrTFlagsMask() function
29 constexpr explicit GrTFlagsMask(int value) : fValue(value) {} in GrTFlagsMask() function
40 [[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 …]
/external/skia/src/gpu/ganesh/ops/
DStrokeTessellateOp.cpp110 constexpr static GrTFlagsMask<PatchAttribs> kDynamicStatesMask(PatchAttribs::kStrokeParams | in onCombineIfPossible()