Flutter Engine
The Flutter Engine
Public Member Functions | Static Public Member Functions | List of all members
skgpu::ganesh::TessellationPathRenderer Class Referencefinal

#include <TessellationPathRenderer.h>

Inheritance diagram for skgpu::ganesh::TessellationPathRenderer:
skgpu::ganesh::PathRenderer SkRefCnt SkRefCntBase

Public Member Functions

const char * name () const override
 
- Public Member Functions inherited from skgpu::ganesh::PathRenderer
 PathRenderer ()=default
 
virtual const char * name () const =0
 
StencilSupport getStencilSupport (const GrStyledShape &shape) const
 
CanDrawPath canDrawPath (const CanDrawPathArgs &args) const
 
bool drawPath (const DrawPathArgs &args)
 
void stencilPath (const StencilPathArgs &args)
 
- Public Member Functions inherited from SkRefCntBase
 SkRefCntBase ()
 
virtual ~SkRefCntBase ()
 
bool unique () const
 
void ref () const
 
void unref () const
 

Static Public Member Functions

static bool IsSupported (const GrCaps &)
 

Additional Inherited Members

- Public Types inherited from skgpu::ganesh::PathRenderer
enum  StencilSupport { kNoSupport_StencilSupport , kStencilOnly_StencilSupport , kNoRestriction_StencilSupport }
 
enum class  CanDrawPath { kNo , kAsBackup , kYes }
 
- Static Protected Member Functions inherited from skgpu::ganesh::PathRenderer
static void GetPathDevBounds (const SkPath &path, SkISize devSize, const SkMatrix &matrix, SkRect *bounds)
 

Detailed Description

Definition at line 22 of file TessellationPathRenderer.h.

Member Function Documentation

◆ IsSupported()

bool skgpu::ganesh::TessellationPathRenderer::IsSupported ( const GrCaps caps)
static

Definition at line 121 of file TessellationPathRenderer.cpp.

121 {
122 return !caps.avoidStencilBuffers() &&
123 caps.drawInstancedSupport() &&
125}
bool avoidStencilBuffers() const
Definition: GrCaps.h:139
bool drawInstancedSupport() const
Definition: GrCaps.h:80
bool disableTessellationPathRenderer() const
Definition: GrCaps.h:441

◆ name()

const char * skgpu::ganesh::TessellationPathRenderer::name ( ) const
inlineoverridevirtual

Implements skgpu::ganesh::PathRenderer.

Definition at line 26 of file TessellationPathRenderer.h.

26{ return "Tessellation"; }

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