7#ifndef GrStencilSettings_DEFINED
8#define GrStencilSettings_DEFINED
55 this->
reset(user, hasStencilClip, numStencilBits);
65 bool isValid()
const {
return !(fFlags & kInvalid_PrivateFlag); }
static constexpr int kGrStencilTestCount
static constexpr int kGrStencilOpCount
@ kTopLeft_GrSurfaceOrigin
@ kSingleSided_StencilFlag
@ kNoModifyStencil_StencilFlag
void genKey(skgpu::KeyBuilder *b, bool includeRefsAndMasks) const
void reset(const GrUserStencilSettings &, bool hasStencilClip, int numStencilBits)
static const GrUserStencilSettings * SetClipBitSettings(bool setToInside)
GrStencilSettings & operator=(const GrStencilSettings &that)
const Face & postOriginCCWFace(GrSurfaceOrigin origin) const
bool operator==(const GrStencilSettings &) const
GrStencilSettings(const GrStencilSettings &that)
GrStencilSettings(const GrUserStencilSettings &user, bool hasStencilClip, int numStencilBits)
const Face & singleSidedFace() const
const Face & postOriginCWFace(GrSurfaceOrigin origin) const
bool operator!=(const GrStencilSettings &that) const
void reset(const GrUserStencilSettings::Face &, bool useStencilClip, int numStencilBits)