# Objective - avoid several internal vec copies while collecting all the level data in ktx2 load - merge another little piece of #18411 (benchmarks there found this to be a significant win) ## Solution - reserve and extend ## Testing - ran a few examples that load ktx2 images, like ssr. looks fine ## Future work - fast path logic to skip the reading into different vecs and just read it all in one go into the final buffer instead - as above, but directly into gpu staging buffer perhaps |
||
|---|---|---|
| .. | ||
| basis.rs | ||
| compressed_image_saver.rs | ||
| dds.rs | ||
| dynamic_texture_atlas_builder.rs | ||
| exr_texture_loader.rs | ||
| hdr_texture_loader.rs | ||
| image_loader.rs | ||
| image_texture_conversion.rs | ||
| image.rs | ||
| ktx2.rs | ||
| lib.rs | ||
| texture_atlas_builder.rs | ||
| texture_atlas.rs | ||