Lines Matching refs:uint16_t

46     uint16_t   fRef;        // Reference value for stencil test and ops.
48 uint16_t fTestMask; // Bitwise "and" to perform on fRef and stencil values before testing.
52 uint16_t fWriteMask; // Indicates which bits in the stencil buffer should be updated.
56 enum class GrUserStencilTest : uint16_t {
117 template<uint16_t Ref, GrUserStencilTest Test, uint16_t TestMask,
118 GrUserStencilOp PassOp, GrUserStencilOp FailOp, uint16_t WriteMask> struct Init {};
120 template<uint16_t FtRef, uint16_t BkRef,
122 uint16_t FtTestMask, uint16_t BkTestMask,
125 uint16_t FtWriteMask, uint16_t BkWriteMask> struct InitSeparate {};
127 template<uint16_t Ref, GrUserStencilTest Test, uint16_t TestMask,
128 GrUserStencilOp PassOp, GrUserStencilOp FailOp, uint16_t WriteMask>
133 template<uint16_t FtRef, uint16_t BkRef,
135 uint16_t FtTestMask, uint16_t BkTestMask,
138 uint16_t FtWriteMask, uint16_t BkWriteMask>
148 template<uint16_t Ref, GrUserStencilTest Test, uint16_t TestMask,
149 GrUserStencilOp PassOp, GrUserStencilOp FailOp, uint16_t WriteMask,
153 : fFrontFlags{(uint16_t)(Attrs::Flags(false) | kSingleSided_StencilFlag), in GrUserStencilSettings()
154 (uint16_t)(Attrs::Flags(true) | kSingleSided_StencilFlag)} in GrUserStencilSettings()
157 , fBackFlags{(uint16_t)(Attrs::Flags(false) | kSingleSided_StencilFlag),
158 (uint16_t)(Attrs::Flags(true) | kSingleSided_StencilFlag)}
163 template<uint16_t FtRef, uint16_t BkRef,
165 uint16_t FtTestMask, uint16_t BkTestMask,
168 uint16_t FtWriteMask, uint16_t BkWriteMask,
185 uint16_t flags(bool hasStencilClip) const { in flags()
198 const uint16_t fFrontFlags[2]; // frontFlagsForDraw = fFrontFlags[hasStencilClip].
200 const uint16_t fBackFlags[2]; // backFlagsForDraw = fBackFlags[hasStencilClip].
236 constexpr static uint16_t Flags(bool hasStencilClip) { in Flags()
241 constexpr static uint16_t EffectiveTestMask(uint16_t testMask) { in EffectiveTestMask()
244 constexpr static uint16_t EffectiveWriteMask(uint16_t writeMask) { in EffectiveWriteMask()