Module prepare

Source
Expand description

ยงPrepare pass

TODO: document this!

Constantsยง

MAX_MASK_SIZE ๐Ÿ”’
MIN_BRUSH_SPLIT_AREA ๐Ÿ”’

Functionsยง

adjust_mask_scale_for_max_size ๐Ÿ”’
build_segments_if_needed ๐Ÿ”’
can_use_clip_chain_for_quad_path ๐Ÿ”’
decompose_repeated_gradient ๐Ÿ”’
prepare_interned_prim_for_render ๐Ÿ”’
Prepare an interned primitive for rendering, by requesting resources, render tasks etc. This is equivalent to the prepare_prim_for_render_inner call for old style primitives.
prepare_picture
The entry point of the preapre pass.
prepare_prim_for_render ๐Ÿ”’
prepare_primitives ๐Ÿ”’
update_brush_segment_clip_task
Write out to the clip mask instances array the correct clip mask config for this segment.
update_clip_task
update_clip_task_for_brush ๐Ÿ”’
write_brush_segment_description ๐Ÿ”’
write_segment ๐Ÿ”’