bevy/crates/bevy_image/src
atlv a8bb208ed3
optimize ktx2 level data concatenation (#19845)
# 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
2025-06-29 21:59:56 +00:00
..
basis.rs Allowed creating uninitialized images (for use as storage textures) (#17760) 2025-02-10 22:22:07 +00:00
compressed_image_saver.rs Allowed creating uninitialized images (for use as storage textures) (#17760) 2025-02-10 22:22:07 +00:00
dds.rs Dds transcode channel order fix (#19849) 2025-06-29 18:19:05 +00:00
dynamic_texture_atlas_builder.rs Add a few missing doc comments in bevy_image (#19493) 2025-06-04 21:12:02 +00:00
exr_texture_loader.rs Deny derive_more error feature and replace it with thiserror (#16684) 2024-12-06 17:03:55 +00:00
hdr_texture_loader.rs Deny derive_more error feature and replace it with thiserror (#16684) 2024-12-06 17:03:55 +00:00
image_loader.rs Add missing docs for ImageLoader (#19499) 2025-06-09 19:46:33 +00:00
image_texture_conversion.rs Allowed creating uninitialized images (for use as storage textures) (#17760) 2025-02-10 22:22:07 +00:00
image.rs Dds transcode channel order fix (#19849) 2025-06-29 18:19:05 +00:00
ktx2.rs optimize ktx2 level data concatenation (#19845) 2025-06-29 21:59:56 +00:00
lib.rs add native zstd support (#19793) 2025-06-26 20:53:54 +00:00
texture_atlas_builder.rs Rename bevy_platform_support to bevy_platform (#18813) 2025-04-11 23:13:28 +00:00
texture_atlas.rs Add newlines before impl blocks (#19746) 2025-06-22 23:07:02 +00:00