Flutter Engine
The Flutter Engine
Public Member Functions | List of all members
impeller::testing::TestPassDelegate Class Referencefinal
Inheritance diagram for impeller::testing::TestPassDelegate:
impeller::EntityPassDelegate

Public Member Functions

 TestPassDelegate (bool collapse=false)
 
 ~TestPassDelegate () override=default
 
bool CanElide () override
 
bool CanCollapseIntoParentPass (EntityPass *entity_pass) override
 Whether or not this entity pass can be collapsed into the parent. If true, this method may modify the entities for the current pass. More...
 
std::shared_ptr< ContentsCreateContentsForSubpassTarget (std::shared_ptr< Texture > target, const Matrix &transform) override
 
std::shared_ptr< FilterContentsWithImageFilter (const FilterInput::Variant &input, const Matrix &effect_transform) const override
 
- Public Member Functions inherited from impeller::EntityPassDelegate
 EntityPassDelegate ()
 
virtual ~EntityPassDelegate ()
 
virtual bool CanElide ()=0
 
virtual bool CanCollapseIntoParentPass (EntityPass *entity_pass)=0
 Whether or not this entity pass can be collapsed into the parent. If true, this method may modify the entities for the current pass. More...
 
virtual std::shared_ptr< ContentsCreateContentsForSubpassTarget (std::shared_ptr< Texture > target, const Matrix &effect_transform)=0
 
virtual std::shared_ptr< FilterContentsWithImageFilter (const FilterInput::Variant &input, const Matrix &effect_transform) const =0
 

Additional Inherited Members

- Static Public Member Functions inherited from impeller::EntityPassDelegate
static std::unique_ptr< EntityPassDelegateMakeDefault ()
 

Detailed Description

Definition at line 76 of file entity_unittests.cc.

Constructor & Destructor Documentation

◆ TestPassDelegate()

impeller::testing::TestPassDelegate::TestPassDelegate ( bool  collapse = false)
inlineexplicit

Definition at line 78 of file entity_unittests.cc.

78: collapse_(collapse) {}

◆ ~TestPassDelegate()

impeller::testing::TestPassDelegate::~TestPassDelegate ( )
overridedefault

Member Function Documentation

◆ CanCollapseIntoParentPass()

bool impeller::testing::TestPassDelegate::CanCollapseIntoParentPass ( EntityPass entity_pass)
inlineoverridevirtual

Whether or not this entity pass can be collapsed into the parent. If true, this method may modify the entities for the current pass.

Implements impeller::EntityPassDelegate.

Definition at line 87 of file entity_unittests.cc.

87 {
88 return collapse_;
89 }

◆ CanElide()

bool impeller::testing::TestPassDelegate::CanElide ( )
inlineoverridevirtual

Implements impeller::EntityPassDelegate.

Definition at line 84 of file entity_unittests.cc.

84{ return false; }

◆ CreateContentsForSubpassTarget()

std::shared_ptr< Contents > impeller::testing::TestPassDelegate::CreateContentsForSubpassTarget ( std::shared_ptr< Texture target,
const Matrix transform 
)
inlineoverride

Definition at line 92 of file entity_unittests.cc.

94 {
95 return nullptr;
96 }

◆ WithImageFilter()

std::shared_ptr< FilterContents > impeller::testing::TestPassDelegate::WithImageFilter ( const FilterInput::Variant input,
const Matrix effect_transform 
) const
inlineoverridevirtual

Implements impeller::EntityPassDelegate.

Definition at line 99 of file entity_unittests.cc.

101 {
102 return nullptr;
103 }

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