Flutter Engine
The Flutter Engine
|
#include <display_list_layer.h>
Public Member Functions | |
DisplayListLayer (const SkPoint &offset, sk_sp< DisplayList > display_list, bool is_complex, bool will_change) | |
DisplayList * | display_list () const |
bool | IsReplacing (DiffContext *context, const Layer *layer) const override |
void | Diff (DiffContext *context, const Layer *old_layer) override |
const DisplayListLayer * | as_display_list_layer () const override |
void | Preroll (PrerollContext *frame) override |
void | Paint (PaintContext &context) const override |
const DisplayListRasterCacheItem * | raster_cache_item () const |
RasterCacheKeyID | caching_key_id () const override |
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 |
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 size_t | kMaxBytesToCompare = 10000 |
Static Public Attributes inherited from flutter::Layer | |
static constexpr int | kSaveLayerRenderFlags |
static constexpr int | kRasterCacheRenderFlags |
Definition at line 18 of file display_list_layer.h.
flutter::DisplayListLayer::DisplayListLayer | ( | const SkPoint & | offset, |
sk_sp< DisplayList > | display_list, | ||
bool | is_complex, | ||
bool | will_change | ||
) |
Definition at line 18 of file display_list_layer.cc.
|
inlineoverridevirtual |
Reimplemented from flutter::Layer.
Definition at line 33 of file display_list_layer.h.
|
inlineoverridevirtual |
Reimplemented from flutter::Layer.
Definition at line 46 of file display_list_layer.h.
|
overridevirtual |
Reimplemented from flutter::Layer.
Definition at line 42 of file display_list_layer.cc.
|
inline |
Definition at line 27 of file display_list_layer.h.
|
overridevirtual |
Reimplemented from flutter::Layer.
Definition at line 32 of file display_list_layer.cc.
|
overridevirtual |
Implements flutter::Layer.
Definition at line 110 of file display_list_layer.cc.
|
overridevirtual |
Implements flutter::Layer.
Definition at line 97 of file display_list_layer.cc.
|
inline |
Definition at line 42 of file display_list_layer.h.
|
staticconstexpr |
Definition at line 20 of file display_list_layer.h.