bevy/crates/bevy_render/src
TheRawMeatball 3c13c75036 Optimize rendering slow-down at high entity counts (#5509)
# Objective

- Improve #3953

## Solution

- The very specific circumstances under which the render world is reset meant that the flush_as_invalid function could be replaced with one that had a noop as its init method.
- This removes a double-writing issue leading to greatly increased performance.

Running the reproduction code in the linked issue, this change nearly doubles the framerate.

Co-authored-by: Carter Anderson <mcanders1@gmail.com>
2022-10-24 19:24:49 +00:00
..
camera doc: document PerspectiveProjection (#6310) 2022-10-24 14:53:14 +00:00
color Correctly use as_hsla_f32 in Add<Color> and AddAssign<Color>, fixes #5543 (#5546) 2022-08-17 14:00:10 +00:00
mesh add Debug, Copy, Clone derives to Circle (#6009) 2022-09-18 02:03:10 +00:00
primitives Very minor doc formatting changes (#5287) 2022-07-12 13:06:16 +00:00
render_graph fix: grammar and typo fixes in rendergraph docs (#5710) 2022-08-16 20:46:46 +00:00
render_phase remove copyless (#6100) 2022-09-27 18:11:40 +00:00
render_resource log pipeline cache errors earlier (#6115) 2022-09-28 04:04:55 +00:00
renderer Link to linux_dependencies.md in the panic message when failing to detect a GPU (#6261) 2022-10-17 14:01:52 +00:00
texture Add TextureFormat::Rg16Unorm support for Image and derive Resource for SpecializedComputePipelines (#5991) 2022-09-15 15:57:04 +00:00
view Avoid creating SurfaceConfiguration in prepare_windows (#6255) 2022-10-24 15:38:51 +00:00
extract_component.rs Implement IntoIterator for &Extract<P> (#6025) 2022-09-20 00:29:10 +00:00
extract_param.rs Exclusive Systems Now Implement System. Flexible Exclusive System Params (#6083) 2022-09-26 23:57:07 +00:00
extract_resource.rs remove an unused import in release (#5320) 2022-07-14 23:43:57 +00:00
globals.rs Add global time scaling (#5752) 2022-10-22 18:52:29 +00:00
lib.rs Optimize rendering slow-down at high entity counts (#5509) 2022-10-24 19:24:49 +00:00
rangefinder.rs Very minor doc formatting changes (#5287) 2022-07-12 13:06:16 +00:00
render_asset.rs Make Resource trait opt-in, requiring #[derive(Resource)] V2 (#5577) 2022-08-08 21:36:35 +00:00
settings.rs Make Resource trait opt-in, requiring #[derive(Resource)] V2 (#5577) 2022-08-08 21:36:35 +00:00
spatial_bundle.rs Add associated constant IDENTITY to Transform and friends. (#5340) 2022-08-30 22:10:24 +00:00