Flutter Engine
The Flutter Engine
|
Public Member Functions | |
Clip (LazyProxyTest *test, GrTextureProxy *atlas) | |
Public Member Functions inherited from GrClip | |
virtual | ~GrClip () |
virtual SkIRect | getConservativeBounds () const =0 |
virtual Effect | apply (GrRecordingContext *, skgpu::ganesh::SurfaceDrawContext *, GrDrawOp *, GrAAType, GrAppliedClip *, SkRect *bounds) const =0 |
virtual PreClipResult | preApply (const SkRect &drawBounds, GrAA aa) const |
Additional Inherited Members | |
Public Types inherited from GrClip | |
enum class | Effect { kClipped , kUnclipped , kClippedOut } |
enum class | BoundsType { kExterior , kInterior } |
Static Public Member Functions inherited from GrClip | |
static bool | IsInsideClip (const SkIRect &innerClipBounds, const SkRect &drawBounds, GrAA aa) |
static bool | IsOutsideClip (const SkIRect &outerClipBounds, const SkRect &drawBounds, GrAA aa) |
static SkIRect | GetPixelIBounds (const SkRect &bounds, GrAA aa, BoundsType mode=BoundsType::kExterior) |
static bool | IsPixelAligned (const SkRect &rect) |
Static Public Attributes inherited from GrClip | |
static constexpr SkScalar | kBoundsTolerance = 1e-3f |
static constexpr SkScalar | kHalfPixelRoundingTolerance = 5e-2f |
Definition at line 221 of file LazyProxyTest.cpp.
|
inline |
Definition at line 223 of file LazyProxyTest.cpp.