5#ifndef FLUTTER_FLOW_LAYERS_CACHEABLE_LAYER_H_
6#define FLUTTER_FLOW_LAYERS_CACHEABLE_LAYER_H_
10#include "flutter/flow/layers/container_layer.h"
11#include "flutter/flow/layers/layer_raster_cache_item.h"
12#include "flutter/flow/raster_cache_util.h"
27 inline bool IsCacheEnabled();
36 int layer_cached_threshold =
38 bool can_cache_children =
false);
AutoCache(RasterCacheItem *raster_cache_item, PrerollContext *context, const SkMatrix &matrix)
CacheableContainerLayer(int layer_cached_threshold=RasterCacheUtil::kMinimumRendersBeforeCachingFilterLayer, bool can_cache_children=false)
const LayerRasterCacheItem * raster_cache_item() const
std::unique_ptr< LayerRasterCacheItem > layer_raster_cache_item_
unsigned useCenter Optional< SkMatrix > matrix
static constexpr int kMinimumRendersBeforeCachingFilterLayer