bevy/crates/bevy_render/src/renderer
Jakob Hellermann c12ee81822 bevy_app: add tracing event with tracy.frame_mark (#4320)
Currently `tracy` interprets the entire trace as one frame because the marker for frames isn't being recorded.

~~When an event with `tracy.trace_marker=true` is recorded, `tracing-tracy` will mark the frame as finished:
<aa0b96b2ae/tracing-tracy/src/lib.rs (L240)>~~

~~Unfortunately this leads to~~
```rs
INFO bevy_app:frame: bevy_app::app: finished frame tracy.frame_mark=true
```
~~being printed every frame (we can't use DEBUG because bevy_log sets `max_release_level_info`.~~

Instead of emitting an event that gets logged every frame, we can depend on tracy-client itself and call `finish_continuous_frame!();`
2022-04-08 22:50:23 +00:00
..
graph_runner.rs Use more ergonomic span syntax (#4246) 2022-03-18 04:19:21 +00:00
mod.rs bevy_app: add tracing event with tracy.frame_mark (#4320) 2022-04-08 22:50:23 +00:00
render_device.rs Use storage buffers for clustered forward point lights (#3989) 2022-04-07 16:16:35 +00:00