Function webrender::tile_cache::create_tile_cache
source ยท fn create_tile_cache(
debug_flags: DebugFlags,
slice_flags: SliceFlags,
scroll_root: SpatialNodeIndex,
iframe_clip: Option<ClipId>,
prim_list: PrimitiveList,
background_color: Option<ColorF>,
shared_clip_node_id: ClipNodeId,
prim_store: &mut PrimitiveStore,
frame_builder_config: &FrameBuilderConfig,
tile_caches: &mut FastHashMap<SliceId, TileCacheParams>,
tile_cache_pictures: &mut Vec<PictureIndex>,
clip_tree_builder: &mut ClipTreeBuilder,
)
Expand description
Given a PrimitiveList and scroll root, construct a tile cache primitive instance that wraps the primitive list.