webrender::image_tiling

Function compute_valid_tiles_if_bounds_change

Source
pub fn compute_valid_tiles_if_bounds_change(
    prev_rect: &DeviceIntRect,
    new_rect: &DeviceIntRect,
    tile_size: u16,
) -> Option<TileRange>