Lines Matching refs:GrUserStencilOp
79 enum class GrUserStencilOp : uint8_t { enum
102 constexpr static GrUserStencilOp kLastUserOnlyStencilOp = GrUserStencilOp::kDecMaybeClamp;
103 constexpr static GrUserStencilOp kLastClipOnlyStencilOp = GrUserStencilOp::kInvertClipBit;
104 constexpr static int kGrUserStencilOpCount = 1 + (int)GrUserStencilOp::kZeroClipAndUserBits;
113 typedef GrTStencilFaceSettings<GrUserStencilTest, GrUserStencilOp> Face;
115 template<GrUserStencilTest, GrUserStencilOp PassOp, GrUserStencilOp FailOp> struct Attrs;
119 GrUserStencilOp PassOp, GrUserStencilOp FailOp, uint16_t WriteMask> struct Init {};
124 GrUserStencilOp CWPassOp, GrUserStencilOp CCWPassOp,
125 GrUserStencilOp CWFailOp, GrUserStencilOp CCWFailOp,
129 GrUserStencilOp PassOp, GrUserStencilOp FailOp, uint16_t WriteMask>
137 GrUserStencilOp CWPassOp, GrUserStencilOp CCWPassOp,
138 GrUserStencilOp CWFailOp, GrUserStencilOp CCWFailOp,
150 GrUserStencilOp PassOp, GrUserStencilOp FailOp, uint16_t WriteMask,
167 GrUserStencilOp CWPassOp, GrUserStencilOp CCWPassOp,
168 GrUserStencilOp CWFailOp, GrUserStencilOp CCWFailOp,
213 template<GrUserStencilTest Test, GrUserStencilOp PassOp, GrUserStencilOp FailOp>
216 static_assert(GrUserStencilOp::kKeep == PassOp || GrUserStencilOp::kKeep == FailOp ||
219 static_assert(GrUserStencilOp::kKeep == PassOp || GrUserStencilOp::kKeep == FailOp ||
227 return (GrUserStencilTest::kNever == Test || GrUserStencilOp::kKeep == PassOp) && in DoesNotModifyStencil()
228 (TestAlwaysPasses(hasStencilClip) || GrUserStencilOp::kKeep == FailOp); in DoesNotModifyStencil()
234 return GrUserStencilOp::kIncWrap == PassOp || GrUserStencilOp::kDecWrap == PassOp || in UsesWrapOps()
235 GrUserStencilOp::kIncWrap == FailOp || GrUserStencilOp::kDecWrap == FailOp; in UsesWrapOps()