#include <opacity_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 17 of file opacity_layer.h.
| flutter::OpacityLayer::OpacityLayer | ( | uint8_t | alpha, |
| const DlPoint & | offset | ||
| ) |
Definition at line 14 of file opacity_layer.cc.
|
inline |
Definition at line 40 of file opacity_layer.h.
|
overridevirtual |
Reimplemented from flutter::ContainerLayer.
Definition at line 19 of file opacity_layer.cc.
References context, flutter::ContainerLayer::DiffChildren(), FML_DCHECK, and impeller::Matrix::MakeTranslation().
|
inline |
Definition at line 47 of file opacity_layer.h.
References flutter::DlColor::toOpacity().
|
overridevirtual |
Reimplemented from flutter::ContainerLayer.
Definition at line 71 of file opacity_layer.cc.
References flutter::ContainerLayer::child_paint_bounds(), children_can_accept_opacity(), context, FML_DCHECK, flutter::CacheableContainerLayer::layer_raster_cache_item_, flutter::Layer::needs_painting(), opacity(), flutter::ContainerLayer::PaintChildren(), impeller::TPoint< T >::x, and impeller::TPoint< T >::y.
|
overridevirtual |
Reimplemented from flutter::ContainerLayer.
Definition at line 36 of file opacity_layer.cc.
References children_can_accept_opacity(), context, flutter::Layer::AutoPrerollSaveLayerState::Create(), flutter::LayerStateStack::kCallerCanApplyOpacity, flutter::CacheableContainerLayer::layer_raster_cache_item_, opacity(), flutter::Layer::paint_bounds(), flutter::ContainerLayer::Preroll(), set_children_can_accept_opacity(), flutter::Layer::set_paint_bounds(), and flutter::AutoCache::ShouldNotBeCached().
|
inline |
Definition at line 43 of file opacity_layer.h.
References value.
Referenced by Preroll().