#include <backdrop_filter_layer.h>
Public Member Functions | |
| BackdropFilterLayer (const std::shared_ptr< DlImageFilter > &filter, DlBlendMode blend_mode, std::optional< int64_t > backdrop_id=std::nullopt) | |
| void | Diff (DiffContext *context, const Layer *old_layer) override |
| void | Preroll (PrerollContext *context) override |
| void | Paint (PaintContext &context) const override |
Public Member Functions inherited from flutter::ContainerLayer | |
| ContainerLayer () | |
| void | Diff (DiffContext *context, const Layer *old_layer) override |
| void | PreservePaintRegion (DiffContext *context) override |
| virtual void | Add (std::shared_ptr< Layer > layer) |
| void | Preroll (PrerollContext *context) override |
| void | Paint (PaintContext &context) const override |
| const std::vector< std::shared_ptr< Layer > > & | layers () const |
| virtual void | DiffChildren (DiffContext *context, const ContainerLayer *old_layer) |
| void | PaintChildren (PaintContext &context) const override |
| const ContainerLayer * | as_container_layer () const override |
| const DlRect & | child_paint_bounds () const |
| void | set_child_paint_bounds (const DlRect &bounds) |
| int | children_renderable_state_flags () const |
| void | set_children_renderable_state_flags (int flags) |
Public Member Functions inherited from flutter::Layer | |
| Layer () | |
| virtual | ~Layer () |
| void | AssignOldLayer (Layer *old_layer) |
| virtual bool | IsReplacing (DiffContext *context, const Layer *old_layer) const |
| bool | subtree_has_platform_view () const |
| void | set_subtree_has_platform_view (bool value) |
| const DlRect & | paint_bounds () const |
| void | set_paint_bounds (const DlRect &paint_bounds) |
| bool | is_empty () const |
| bool | needs_painting (PaintContext &context) const |
| uint64_t | original_layer_id () const |
| uint64_t | unique_id () const |
| virtual RasterCacheKeyID | caching_key_id () const |
| virtual const DisplayListLayer * | as_display_list_layer () const |
| virtual const TextureLayer * | as_texture_layer () const |
| virtual const PerformanceOverlayLayer * | as_performance_overlay_layer () const |
| virtual const testing::MockLayer * | as_mock_layer () const |
Additional Inherited Members | |
Static Public Attributes inherited from flutter::Layer | |
| static constexpr int | kSaveLayerRenderFlags |
| static constexpr int | kRasterCacheRenderFlags |
Protected Member Functions inherited from flutter::ContainerLayer | |
| void | PrerollChildren (PrerollContext *context, DlRect *child_paint_bounds) |
Definition at line 12 of file backdrop_filter_layer.h.
| flutter::BackdropFilterLayer::BackdropFilterLayer | ( | const std::shared_ptr< DlImageFilter > & | filter, |
| DlBlendMode | blend_mode, | ||
| std::optional< int64_t > | backdrop_id = std::nullopt |
||
| ) |
Definition at line 9 of file backdrop_filter_layer.cc.
|
overridevirtual |
Reimplemented from flutter::Layer.
Definition at line 15 of file backdrop_filter_layer.cc.
References flutter::DiffContext::AddLayerBounds(), flutter::DiffContext::AddReadbackRegion(), flutter::DiffContext::CurrentSubtreeRegion(), flutter::ContainerLayer::DiffChildren(), FML_DCHECK, flutter::DiffContext::GetCullRect(), flutter::DiffContext::GetMatrix(), flutter::DiffContext::GetOldLayerPaintRegion(), flutter::DiffContext::IsSubtreeDirty(), flutter::DiffContext::MapRect(), flutter::DiffContext::MarkSubtreeDirty(), flutter::NotEquals(), flutter::Layer::paint_bounds(), impeller::TRect< T >::RoundOut(), and flutter::DiffContext::SetLayerPaintRegion().
|
overridevirtual |
Implements flutter::Layer.
Definition at line 58 of file backdrop_filter_layer.cc.
References flutter::LayerStateStack::MutatorContext::applyBackdropFilter(), FML_DCHECK, flutter::Layer::needs_painting(), flutter::Layer::paint_bounds(), flutter::ContainerLayer::PaintChildren(), flutter::LayerStateStack::save(), and flutter::PaintContext::state_stack.
|
overridevirtual |
Implements flutter::Layer.
Definition at line 43 of file backdrop_filter_layer.cc.
References flutter::ContainerLayer::child_paint_bounds(), flutter::Layer::AutoPrerollSaveLayerState::Create(), flutter::LayerStateStack::device_cull_rect(), flutter::Layer::kSaveLayerRenderFlags, flutter::LayerStateStack::local_cull_rect(), flutter::ContainerLayer::PrerollChildren(), flutter::ExternalViewEmbedder::PushFilterToVisitedPlatformViews(), flutter::PrerollContext::renderable_state_flags, flutter::Layer::set_paint_bounds(), flutter::PrerollContext::state_stack, impeller::TRect< T >::Union(), and flutter::PrerollContext::view_embedder.