Function webrender::picture_graph::assign_update_pass

source ยท
fn assign_update_pass(
    pic_index: PictureIndex,
    parent_pic_index: Option<PictureIndex>,
    pass: usize,
    pictures: &mut [PicturePrimitive],
    pic_info: &mut [PictureInfo],
    max_pass_index: &mut usize,
    frame_context: &FrameBuildingContext<'_>,
)
Expand description

Recursive function that assigns pictures to the earliest pass possible that they can be processed in, while maintaining dependency ordering.