Flutter Engine
The Flutter Engine
|
#include <paint_pass_delegate.h>
Public Member Functions | |
OpacityPeepholePassDelegate (Paint paint) | |
~OpacityPeepholePassDelegate () override | |
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< Contents > | CreateContentsForSubpassTarget (std::shared_ptr< Texture > target, const Matrix &effect_transform) override |
std::shared_ptr< FilterContents > | WithImageFilter (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< EntityPassDelegate > | MakeDefault () |
A delegate that attempts to forward opacity from a save layer to child contents.
Currently this has a hardcoded limit of 3 entities in a pass, and cannot forward to child subpass delegates.
Definition at line 52 of file paint_pass_delegate.h.
|
explicit |
Definition at line 60 of file paint_pass_delegate.cc.
|
overridedefault |
|
overridevirtual |
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 72 of file paint_pass_delegate.cc.
|
overridevirtual |
Implements impeller::EntityPassDelegate.
Definition at line 67 of file paint_pass_delegate.cc.
|
overridevirtual |
Implements impeller::EntityPassDelegate.
Definition at line 137 of file paint_pass_delegate.cc.
|
overridevirtual |
Implements impeller::EntityPassDelegate.
Definition at line 152 of file paint_pass_delegate.cc.