Function webrender::image_tiling::tiles_1d
source ยท fn tiles_1d(
layout_tile_size: f32,
layout_visible_range: Range<f32>,
layout_prim_start: f32,
device_image_range: Range<i32>,
device_tile_size: i32,
) -> TileIteratorExtent
Expand description
Decompose tiles along an arbitrary axis.
This does most of the heavy lifting needed for tiles
but in a single dimension for
the sake of simplicity since the problem is independent on the x and y axes.