Flutter Engine
The Flutter Engine
Public Member Functions | Static Public Member Functions | Protected Member Functions | List of all members
flutter::DlRuntimeEffect Class Referenceabstract

#include <dl_runtime_effect.h>

Inheritance diagram for flutter::DlRuntimeEffect:
SkRefCnt SkRefCntBase flutter::DlRuntimeEffectImpeller flutter::DlRuntimeEffectSkia

Public Member Functions

virtual sk_sp< SkRuntimeEffectskia_runtime_effect () const =0
 
virtual std::shared_ptr< impeller::RuntimeStageruntime_stage () const =0
 
- Public Member Functions inherited from SkRefCntBase
 SkRefCntBase ()
 
virtual ~SkRefCntBase ()
 
bool unique () const
 
void ref () const
 
void unref () const
 

Static Public Member Functions

static sk_sp< DlRuntimeEffectMakeSkia (const sk_sp< SkRuntimeEffect > &runtime_effect)
 
static sk_sp< DlRuntimeEffectMakeImpeller (std::shared_ptr< impeller::RuntimeStage > runtime_stage)
 

Protected Member Functions

 DlRuntimeEffect ()
 
virtual ~DlRuntimeEffect ()
 

Detailed Description

Definition at line 18 of file dl_runtime_effect.h.

Constructor & Destructor Documentation

◆ DlRuntimeEffect()

flutter::DlRuntimeEffect::DlRuntimeEffect ( )
protecteddefault

◆ ~DlRuntimeEffect()

flutter::DlRuntimeEffect::~DlRuntimeEffect ( )
protectedvirtualdefault

Member Function Documentation

◆ MakeImpeller()

sk_sp< DlRuntimeEffect > flutter::DlRuntimeEffect::MakeImpeller ( std::shared_ptr< impeller::RuntimeStage runtime_stage)
static

Definition at line 23 of file dl_runtime_effect.cc.

24 {
25 return sk_make_sp<DlRuntimeEffectImpeller>(std::move(runtime_stage));
26}
virtual std::shared_ptr< impeller::RuntimeStage > runtime_stage() const =0

◆ MakeSkia()

sk_sp< DlRuntimeEffect > flutter::DlRuntimeEffect::MakeSkia ( const sk_sp< SkRuntimeEffect > &  runtime_effect)
static

Definition at line 18 of file dl_runtime_effect.cc.

19 {
20 return sk_make_sp<DlRuntimeEffectSkia>(runtime_effect);
21}

◆ runtime_stage()

virtual std::shared_ptr< impeller::RuntimeStage > flutter::DlRuntimeEffect::runtime_stage ( ) const
pure virtual

◆ skia_runtime_effect()

virtual sk_sp< SkRuntimeEffect > flutter::DlRuntimeEffect::skia_runtime_effect ( ) const
pure virtual

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