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 ๐