Function webrender::prepare::build_segments_if_needed

source ยท
fn build_segments_if_needed(
    instance: &mut PrimitiveInstance,
    frame_state: &mut FrameBuildingState<'_>,
    prim_store: &mut PrimitiveStore,
    data_stores: &DataStores,
    segments_store: &mut Storage<BrushSegment>,
    segment_instances_store: &mut Storage<SegmentedInstance>,
)