Flutter Engine
The Flutter Engine
Public Member Functions | Protected Member Functions | Friends | List of all members
skgpu::graphite::PrecompileBlender Class Reference

#include <PrecompileBlender.h>

Inheritance diagram for skgpu::graphite::PrecompileBlender:
skgpu::graphite::PrecompileBase SkRefCnt SkRefCntBase skgpu::graphite::PrecompileBlendModeBlender

Public Member Functions

PrecompileBlenderPriv priv ()
 
const PrecompileBlenderPriv priv () const
 
- Public Member Functions inherited from skgpu::graphite::PrecompileBase
Type type () const
 
PrecompileBasePriv priv ()
 
const PrecompileBasePriv priv () const
 
- Public Member Functions inherited from SkRefCntBase
 SkRefCntBase ()
 
virtual ~SkRefCntBase ()
 
bool unique () const
 
void ref () const
 
void unref () const
 

Protected Member Functions

virtual std::optional< SkBlendModeasBlendMode () const
 
 PrecompileBlender ()
 
 ~PrecompileBlender () override
 
- Protected Member Functions inherited from skgpu::graphite::PrecompileBase
 PrecompileBase (Type type)
 
virtual int numIntrinsicCombinations () const
 
virtual int numChildCombinations () const
 
int numCombinations () const
 
virtual void addToKey (const KeyContext &, PaintParamsKeyBuilder *, PipelineDataGatherer *, int desiredCombination) const =0
 

Friends

class PrecompileBlenderPriv
 

Additional Inherited Members

- Public Types inherited from skgpu::graphite::PrecompileBase
enum class  Type {
  kBlender , kColorFilter , kImageFilter , kMaskFilter ,
  kShader
}
 
- Static Protected Member Functions inherited from skgpu::graphite::PrecompileBase
template<typename T >
static std::pair< sk_sp< T >, intSelectOption (SkSpan< const sk_sp< T > > options, int desiredOption)
 
template<typename T >
static void AddToKey (const KeyContext &, PaintParamsKeyBuilder *, PipelineDataGatherer *, SkSpan< const sk_sp< T > > options, int desiredOption)
 

Detailed Description

This class corresponds to the SkBlender class in the main API.

Definition at line 23 of file PrecompileBlender.h.

Constructor & Destructor Documentation

◆ PrecompileBlender()

skgpu::graphite::PrecompileBlender::PrecompileBlender ( )
inlineprotected

◆ ~PrecompileBlender()

skgpu::graphite::PrecompileBlender::~PrecompileBlender ( )
overrideprotecteddefault

Member Function Documentation

◆ asBlendMode()

virtual std::optional< SkBlendMode > skgpu::graphite::PrecompileBlender::asBlendMode ( ) const
inlineprotectedvirtual

Reimplemented in skgpu::graphite::PrecompileBlendModeBlender.

Definition at line 32 of file PrecompileBlender.h.

32{ return {}; }

◆ priv() [1/2]

PrecompileBlenderPriv skgpu::graphite::PrecompileBlender::priv ( )
inline

Definition at line 49 of file PrecompileBlenderPriv.h.

49{ return PrecompileBlenderPriv(this); }

◆ priv() [2/2]

const PrecompileBlenderPriv skgpu::graphite::PrecompileBlender::priv ( ) const
inline

Definition at line 52 of file PrecompileBlenderPriv.h.

52 {
53 return PrecompileBlenderPriv(const_cast<PrecompileBlender *>(this));
54}

Friends And Related Function Documentation

◆ PrecompileBlenderPriv

friend class PrecompileBlenderPriv
friend

Definition at line 30 of file PrecompileBlender.h.


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