Function webrender::renderer::upload::copy_from_staging_to_cache
source ยท fn copy_from_staging_to_cache(
renderer: &mut Renderer,
batch_upload_textures: &[Texture],
batch_upload_copies: Vec<BatchUploadCopy>,
)
Expand description
Copy from the staging PBOs or textures to texture cache textures using blit commands.
Using blits instead of draw calls is supposedly more efficient but some drivers have a very high per-command overhead so in some configurations we end up using copy_from_staging_to_cache_using_draw_calls instead.