Flutter Engine
The Flutter Engine
Loading...
Searching...
No Matches
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.
 
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 ()
 

Additional Inherited Members

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

Detailed Description

Definition at line 75 of file entity_unittests.cc.

Constructor & Destructor Documentation

◆ TestPassDelegate()

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

Definition at line 77 of file entity_unittests.cc.

77: 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 86 of file entity_unittests.cc.

86 {
87 return collapse_;
88 }

◆ CanElide()

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

Implements impeller::EntityPassDelegate.

Definition at line 83 of file entity_unittests.cc.

83{ return false; }

◆ CreateContentsForSubpassTarget()

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

Implements impeller::EntityPassDelegate.

Definition at line 91 of file entity_unittests.cc.

93 {
94 return nullptr;
95 }

◆ 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 98 of file entity_unittests.cc.

100 {
101 return nullptr;
102 }

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