Flutter Engine
The Flutter Engine
|
#include <layer.h>
Classes | |
class | AutoPrerollSaveLayerState |
Public Member Functions | |
Layer () | |
virtual | ~Layer () |
void | AssignOldLayer (Layer *old_layer) |
virtual bool | IsReplacing (DiffContext *context, const Layer *old_layer) const |
virtual void | Diff (DiffContext *context, const Layer *old_layer) |
virtual void | PreservePaintRegion (DiffContext *context) |
virtual void | Preroll (PrerollContext *context)=0 |
virtual void | Paint (PaintContext &context) const =0 |
virtual void | PaintChildren (PaintContext &context) const |
bool | subtree_has_platform_view () const |
void | set_subtree_has_platform_view (bool value) |
const SkRect & | paint_bounds () const |
void | set_paint_bounds (const SkRect &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 ContainerLayer * | as_container_layer () 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 |
Static Public Attributes | |
static constexpr int | kSaveLayerRenderFlags |
static constexpr int | kRasterCacheRenderFlags |
flutter::Layer::Layer | ( | ) |
Definition at line 11 of file layer.cc.
|
virtualdefault |
|
inlinevirtual |
Reimplemented in flutter::ContainerLayer.
Definition at line 258 of file layer.h.
|
inlinevirtual |
Reimplemented in flutter::DisplayListLayer.
Definition at line 259 of file layer.h.
|
inlinevirtual |
Reimplemented in flutter::testing::MockLayer.
Definition at line 266 of file layer.h.
|
inlinevirtual |
Reimplemented in flutter::PerformanceOverlayLayer.
Definition at line 263 of file layer.h.
|
inlinevirtual |
Reimplemented in flutter::TextureLayer.
Definition at line 262 of file layer.h.
|
inline |
|
inlinevirtual |
|
inlinevirtual |
Reimplemented in flutter::BackdropFilterLayer, flutter::ClipShapeLayer< T >, flutter::ClipShapeLayer< SkPath >, flutter::ClipShapeLayer< SkRRect >, flutter::ClipShapeLayer< SkRect >, flutter::ColorFilterLayer, flutter::ContainerLayer, flutter::DisplayListLayer, flutter::ImageFilterLayer, flutter::OpacityLayer, flutter::PerformanceOverlayLayer, flutter::ShaderMaskLayer, flutter::TextureLayer, flutter::TransformLayer, and flutter::testing::MockLayer.
Definition at line 158 of file layer.h.
|
inlinevirtual |
Reimplemented in flutter::DisplayListLayer, flutter::PerformanceOverlayLayer, flutter::TextureLayer, and flutter::testing::MockLayer.
Definition at line 153 of file layer.h.
|
inline |
Definition at line 232 of file layer.h.
|
inline |
|
pure virtual |
Implemented in flutter::BackdropFilterLayer, flutter::ClipShapeLayer< T >, flutter::ClipShapeLayer< SkPath >, flutter::ClipShapeLayer< SkRRect >, flutter::ClipShapeLayer< SkRect >, flutter::ColorFilterLayer, flutter::ContainerLayer, flutter::DisplayListLayer, flutter::ImageFilterLayer, flutter::OpacityLayer, flutter::PerformanceOverlayLayer, flutter::PlatformViewLayer, flutter::ShaderMaskLayer, flutter::TextureLayer, flutter::TransformLayer, and flutter::testing::MockLayer.
|
inline |
|
inlinevirtual |
|
pure virtual |
Implemented in flutter::BackdropFilterLayer, flutter::ClipShapeLayer< T >, flutter::ClipShapeLayer< SkPath >, flutter::ClipShapeLayer< SkRRect >, flutter::ClipShapeLayer< SkRect >, flutter::ColorFilterLayer, flutter::ContainerLayer, flutter::ImageFilterLayer, flutter::OpacityLayer, flutter::PerformanceOverlayLayer, flutter::PlatformViewLayer, flutter::ShaderMaskLayer, flutter::TextureLayer, flutter::TransformLayer, flutter::testing::MockLayer, flutter::testing::MockCacheableContainerLayer, flutter::testing::MockCacheableLayer, and flutter::DisplayListLayer.
|
inlinevirtual |
Reimplemented in flutter::ContainerLayer.
Definition at line 163 of file layer.h.
|
inline |
|
inline |
|
inline |
|
inline |
|
staticconstexpr |
|
staticconstexpr |