Flutter Engine
The Flutter Engine
|
#include <GrStencilSettings.h>
Classes | |
struct | Face |
Public Member Functions | |
GrStencilSettings () | |
GrStencilSettings (const GrUserStencilSettings &user, bool hasStencilClip, int numStencilBits) | |
GrStencilSettings (const GrStencilSettings &that) | |
GrStencilSettings & | operator= (const GrStencilSettings &that) |
void | invalidate () |
void | setDisabled () |
void | reset (const GrUserStencilSettings &, bool hasStencilClip, int numStencilBits) |
void | reset (const GrStencilSettings &) |
bool | isValid () const |
bool | isDisabled () const |
bool | doesWrite () const |
bool | isTwoSided () const |
bool | usesWrapOp () const |
void | genKey (skgpu::KeyBuilder *b, bool includeRefsAndMasks) const |
bool | operator!= (const GrStencilSettings &that) const |
bool | operator== (const GrStencilSettings &) const |
const Face & | singleSidedFace () const |
const Face & | postOriginCWFace (GrSurfaceOrigin origin) const |
const Face & | postOriginCCWFace (GrSurfaceOrigin origin) const |
Static Public Member Functions | |
static const GrUserStencilSettings * | SetClipBitSettings (bool setToInside) |
This class defines concrete stencil settings that map directly to the underlying hardware. It is deduced from user stencil settings, stencil clip status, and the number of bits in the target stencil buffer.
Definition at line 51 of file GrStencilSettings.h.
|
inline |
Definition at line 53 of file GrStencilSettings.h.
|
inline |
Definition at line 54 of file GrStencilSettings.h.
|
inline |
Definition at line 57 of file GrStencilSettings.h.
|
inline |
Definition at line 67 of file GrStencilSettings.h.
void GrStencilSettings::genKey | ( | skgpu::KeyBuilder * | b, |
bool | includeRefsAndMasks | ||
) | const |
Definition at line 249 of file GrStencilSettings.cpp.
|
inline |
Definition at line 60 of file GrStencilSettings.h.
|
inline |
Definition at line 66 of file GrStencilSettings.h.
|
inline |
Definition at line 69 of file GrStencilSettings.h.
|
inline |
Definition at line 65 of file GrStencilSettings.h.
|
inline |
Definition at line 76 of file GrStencilSettings.h.
|
inline |
Definition at line 58 of file GrStencilSettings.h.
bool GrStencilSettings::operator== | ( | const GrStencilSettings & | that | ) | const |
Definition at line 73 of file GrStencilSettings.cpp.
|
inline |
Definition at line 99 of file GrStencilSettings.h.
|
inline |
Definition at line 92 of file GrStencilSettings.h.
void GrStencilSettings::reset | ( | const GrStencilSettings & | that | ) |
Definition at line 59 of file GrStencilSettings.cpp.
void GrStencilSettings::reset | ( | const GrUserStencilSettings & | user, |
bool | hasStencilClip, | ||
int | numStencilBits | ||
) |
Definition at line 30 of file GrStencilSettings.cpp.
|
static |
Gets the user stencil settings to directly set the clip bit.
Definition at line 245 of file GrStencilSettings.cpp.
|
inline |
Definition at line 61 of file GrStencilSettings.h.
|
inline |
Definition at line 84 of file GrStencilSettings.h.
|
inline |
Definition at line 71 of file GrStencilSettings.h.