Flutter Engine
The Flutter Engine
Public Member Functions | List of all members
LazyProxyTest::Clip Class Reference
Inheritance diagram for LazyProxyTest::Clip:
GrClip

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
 

Detailed Description

Definition at line 221 of file LazyProxyTest.cpp.

Constructor & Destructor Documentation

◆ Clip()

LazyProxyTest::Clip::Clip ( LazyProxyTest test,
GrTextureProxy atlas 
)
inline

Definition at line 223 of file LazyProxyTest.cpp.

224 : fTest(test)
225 , fAtlas(atlas) {}
sk_sp< const SkImage > atlas
Definition: SkRecords.h:331

The documentation for this class was generated from the following file: