Flutter Engine
The Flutter Engine
|
#include <GrAppliedClip.h>
Public Member Functions | |
GrAppliedHardClip (const SkISize &rtDims) | |
GrAppliedHardClip (const SkISize &logicalRTDims, const SkISize &backingStoreDims) | |
GrAppliedHardClip (GrAppliedHardClip &&that)=default | |
GrAppliedHardClip (const GrAppliedHardClip &)=default | |
const GrScissorState & | scissorState () const |
const GrWindowRectsState & | windowRectsState () const |
uint32_t | stencilStackID () const |
bool | hasStencilClip () const |
bool | addScissor (const SkIRect &irect, SkRect *clippedDrawBounds) |
void | setScissor (const SkIRect &irect) |
void | addWindowRectangles (const GrWindowRectsState &windowState) |
void | addWindowRectangles (const GrWindowRectangles &windows, GrWindowRectsState::Mode mode) |
void | addStencilClip (uint32_t stencilStackID) |
bool | doesClip () const |
bool | operator== (const GrAppliedHardClip &that) const |
bool | operator!= (const GrAppliedHardClip &that) const |
Static Public Member Functions | |
static const GrAppliedHardClip & | Disabled () |
Produced by GrHardClip. It provides a set of modifications to the hardware drawing state that implement the clip.
Definition at line 22 of file GrAppliedClip.h.
|
inline |
Definition at line 32 of file GrAppliedClip.h.
|
inline |
Definition at line 33 of file GrAppliedClip.h.
|
default |
|
explicitdefault |
Intersects the applied clip with the provided rect. Returns false if the draw became empty. 'clippedDrawBounds' will be intersected with 'irect'. This returns false if the clip becomes empty or the draw no longer intersects the clip. In either case the draw can be skipped.
Definition at line 51 of file GrAppliedClip.h.
|
inline |
Definition at line 69 of file GrAppliedClip.h.
|
inline |
Definition at line 64 of file GrAppliedClip.h.
|
inline |
Definition at line 59 of file GrAppliedClip.h.
|
inlinestatic |
Definition at line 24 of file GrAppliedClip.h.
|
inline |
Definition at line 74 of file GrAppliedClip.h.
|
inline |
Definition at line 44 of file GrAppliedClip.h.
|
inline |
Definition at line 83 of file GrAppliedClip.h.
|
inline |
Definition at line 78 of file GrAppliedClip.h.
|
inline |
Definition at line 41 of file GrAppliedClip.h.
|
inline |
Definition at line 55 of file GrAppliedClip.h.
|
inline |
Definition at line 43 of file GrAppliedClip.h.
|
inline |
Definition at line 42 of file GrAppliedClip.h.