should_use_tiling

Function should_use_tiling 

Source
pub fn should_use_tiling(width: u32, height: u32) -> bool
Expand description

Check if an image should use GPU tiling for display. Images larger than the atlas fragment size need to be split into tiles for GPU upload.