#include <shader_mask_layer.h>
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) |
Protected Attributes inherited from flutter::CacheableContainerLayer | |
| std::unique_ptr< LayerRasterCacheItem > | layer_raster_cache_item_ |
Definition at line 13 of file shader_mask_layer.h.
| flutter::ShaderMaskLayer::ShaderMaskLayer | ( | std::shared_ptr< DlColorSource > | color_source, |
| const DlRect & | mask_rect, | ||
| DlBlendMode | blend_mode | ||
| ) |
Definition at line 10 of file shader_mask_layer.cc.
|
overridevirtual |
Reimplemented from flutter::ContainerLayer.
Definition at line 19 of file shader_mask_layer.cc.
References context, flutter::ContainerLayer::DiffChildren(), and FML_DCHECK.
|
overridevirtual |
Reimplemented from flutter::ContainerLayer.
Definition at line 50 of file shader_mask_layer.cc.
References context, FML_DCHECK, impeller::TRect< T >::GetLeft(), impeller::TRect< T >::GetSize(), impeller::TRect< T >::GetTop(), flutter::CacheableContainerLayer::layer_raster_cache_item_, impeller::TRect< Scalar >::MakeSize(), flutter::Layer::needs_painting(), flutter::Layer::paint_bounds(), flutter::ContainerLayer::PaintChildren(), flutter::DlPaint::setBlendMode(), and flutter::DlPaint::setColorSource().
|
overridevirtual |
Reimplemented from flutter::ContainerLayer.
Definition at line 37 of file shader_mask_layer.cc.
References context, flutter::Layer::AutoPrerollSaveLayerState::Create(), flutter::Layer::kSaveLayerRenderFlags, flutter::CacheableContainerLayer::layer_raster_cache_item_, and flutter::ContainerLayer::Preroll().