5#ifndef FLUTTER_FLOW_LAYERS_DISPLAY_LIST_RASTER_CACHE_ITEM_H_
6#define FLUTTER_FLOW_LAYERS_DISPLAY_LIST_RASTER_CACHE_ITEM_H_
11#include "flutter/display_list/display_list.h"
12#include "flutter/flow/embedded_views.h"
13#include "flutter/flow/raster_cache_item.h"
23 bool is_complex =
true,
24 bool will_change =
false);
26 static std::unique_ptr<DisplayListRasterCacheItem>
Make(
44 bool parent_cached =
false)
const override;
SkMatrix & preTranslate(SkScalar dx, SkScalar dy)
bool TryToPrepareRasterCache(const PaintContext &context, bool parent_cached=false) const override
static std::unique_ptr< DisplayListRasterCacheItem > Make(const sk_sp< DisplayList > &, const SkPoint &offset, bool is_complex, bool will_change)
void PrerollSetup(PrerollContext *context, const SkMatrix &matrix) override
const DisplayList * display_list() const
void ModifyMatrix(SkPoint offset) const
void PrerollFinalize(PrerollContext *context, const SkMatrix &matrix) override
bool Draw(const PaintContext &context, const DlPaint *paint) const override
Developer-facing API for rendering anything within the engine.