bevy/crates/bevy_text/src
UkoeHB 41474226c3
Optimize UI text measurement (#15003)
# Objective

- Avoid cloning the `CosmicBuffer` every time you create a new text
measurement.

## Solution

- Inject a buffer query when calculating layout so existing buffers can
be reused.

## Testing

- I tested the `text`, `text_debug`, and `text_wrap_debug` examples.
- I did not do a performance test.
2024-09-01 11:50:54 +00:00
..
bounds.rs Cosmic text (#10193) 2024-07-04 20:41:08 +00:00
error.rs Cosmic text (#10193) 2024-07-04 20:41:08 +00:00
FiraMono-subset.ttf add a default font (#8445) 2023-04-21 22:30:18 +00:00
font_atlas_set.rs Cosmic text (#10193) 2024-07-04 20:41:08 +00:00
font_atlas.rs Fix intra-doc links and make CI test them (#14076) 2024-07-11 13:08:31 +00:00
font_loader.rs Fix intra-doc links and make CI test them (#14076) 2024-07-11 13:08:31 +00:00
font.rs Cosmic text (#10193) 2024-07-04 20:41:08 +00:00
glyph.rs Fix intra-doc links and make CI test them (#14076) 2024-07-11 13:08:31 +00:00
lib.rs Apply unused_qualifications lint (#14828) 2024-08-21 12:29:33 +00:00
pipeline.rs Optimize UI text measurement (#15003) 2024-09-01 11:50:54 +00:00
text2d.rs Cosmic text (#10193) 2024-07-04 20:41:08 +00:00
text.rs Remove #[cfg] from the From impls of TextSection (#14439) 2024-07-26 17:11:12 +00:00