Flutter Engine
The Flutter Engine
|
#include <display_list_raster_cache_item.h>
Public Member Functions | |
DisplayListRasterCacheItem (const sk_sp< DisplayList > &display_list, const SkPoint &offset, bool is_complex=true, bool will_change=false) | |
void | PrerollSetup (PrerollContext *context, const SkMatrix &matrix) override |
void | PrerollFinalize (PrerollContext *context, const SkMatrix &matrix) override |
bool | Draw (const PaintContext &context, const DlPaint *paint) const override |
bool | Draw (const PaintContext &context, DlCanvas *canvas, const DlPaint *paint) const override |
bool | TryToPrepareRasterCache (const PaintContext &context, bool parent_cached=false) const override |
void | ModifyMatrix (SkPoint offset) const |
const DisplayList * | display_list () const |
Public Member Functions inherited from flutter::RasterCacheItem | |
RasterCacheItem (RasterCacheKeyID key_id, CacheState cache_state=CacheState::kNone, unsigned child_entries=0) | |
virtual void | PrerollSetup (PrerollContext *context, const SkMatrix &matrix)=0 |
virtual void | PrerollFinalize (PrerollContext *context, const SkMatrix &matrix)=0 |
virtual bool | Draw (const PaintContext &context, const DlPaint *paint) const =0 |
virtual bool | Draw (const PaintContext &context, DlCanvas *canvas, const DlPaint *paint) const =0 |
virtual std::optional< RasterCacheKeyID > | GetId () const |
virtual bool | TryToPrepareRasterCache (const PaintContext &context, bool parent_cached=false) const =0 |
unsigned | child_items () const |
void | set_matrix (const SkMatrix &matrix) |
CacheState | cache_state () const |
bool | need_caching () const |
virtual | ~RasterCacheItem ()=default |
Static Public Member Functions | |
static std::unique_ptr< DisplayListRasterCacheItem > | Make (const sk_sp< DisplayList > &, const SkPoint &offset, bool is_complex, bool will_change) |
Additional Inherited Members | |
Public Types inherited from flutter::RasterCacheItem | |
enum | CacheState { kNone = 0 , kCurrent , kChildren } |
Protected Attributes inherited from flutter::RasterCacheItem | |
RasterCacheKeyID | key_id_ |
CacheState | cache_state_ = CacheState::kNone |
SkMatrix | matrix_ |
unsigned | child_items_ |
Definition at line 21 of file display_list_raster_cache_item.h.
flutter::DisplayListRasterCacheItem::DisplayListRasterCacheItem | ( | const sk_sp< DisplayList > & | display_list, |
const SkPoint & | offset, | ||
bool | is_complex = true , |
||
bool | will_change = false |
||
) |
Definition at line 51 of file display_list_raster_cache_item.cc.
|
inline |
Definition at line 52 of file display_list_raster_cache_item.h.
|
overridevirtual |
Implements flutter::RasterCacheItem.
Definition at line 126 of file display_list_raster_cache_item.cc.
|
overridevirtual |
Implements flutter::RasterCacheItem.
Definition at line 131 of file display_list_raster_cache_item.cc.
|
static |
Definition at line 64 of file display_list_raster_cache_item.cc.
|
inline |
Definition at line 48 of file display_list_raster_cache_item.h.
|
overridevirtual |
Implements flutter::RasterCacheItem.
Definition at line 102 of file display_list_raster_cache_item.cc.
|
overridevirtual |
Implements flutter::RasterCacheItem.
Definition at line 73 of file display_list_raster_cache_item.cc.
|
overridevirtual |
Implements flutter::RasterCacheItem.
Definition at line 146 of file display_list_raster_cache_item.cc.