bevy/crates/bevy_sprite/src
Rob Parrett 859c2d77f9
Revert "Fix sprite performance regression since retained render world (#17078)" (#17123)
# Objective

Fixes #17098

It seems that it's not totally obvious how to fix this, but that
reverting might be part of the solution anyway.

Let's get the repo back into a working state.

## Solution

Revert the [recent
optimization](https://github.com/bevyengine/bevy/pull/17078) that broke
"many-to-one main->render world entities" for 2d.

## Testing

`cargo run --example text2d`
`cargo run --example sprite_slice`
2025-01-04 00:22:18 +00:00
..
mesh2d Refactor batch_and_prepare_binned_render_phase in preparation for bin retention. (#16922) 2024-12-30 20:11:31 +00:00
render Revert "Fix sprite performance regression since retained render world (#17078)" (#17123) 2025-01-04 00:22:18 +00:00
texture_slice Revert "Fix sprite performance regression since retained render world (#17078)" (#17123) 2025-01-04 00:22:18 +00:00
bundle.rs Improved UiImage and Sprite scaling and slicing APIs (#16088) 2024-11-04 15:14:03 +00:00
dynamic_texture_atlas_builder.rs Remove unnecessary cast in DynamicTextureAtlasBuilder (#16937) 2024-12-24 17:14:06 +00:00
lib.rs Fix Text2d performance regression (#16991) 2024-12-29 23:14:33 +00:00
picking_backend.rs Update typos (#17126) 2025-01-03 17:44:26 +00:00
sprite.rs Remove the type parameter from check_visibility, and only invoke it once. (#16812) 2024-12-17 04:43:45 +00:00
texture_atlas_builder.rs Update hashbrown to 0.15 (#15801) 2024-12-10 19:45:50 +00:00
texture_atlas.rs Don't reëxport bevy_image from bevy_render (#16163) 2024-11-10 06:54:38 +00:00