2020-11-10 03:26:08 +00:00
|
|
|
[package]
|
|
|
|
name = "bevy_internal"
|
2022-01-08 10:18:22 +00:00
|
|
|
version = "0.6.0"
|
2021-10-27 00:12:14 +00:00
|
|
|
edition = "2021"
|
2020-11-10 03:26:08 +00:00
|
|
|
description = "An internal Bevy crate used to facilitate optional dynamic linking via the 'dynamic' feature"
|
|
|
|
homepage = "https://bevyengine.org"
|
|
|
|
repository = "https://github.com/bevyengine/bevy"
|
2021-07-23 21:11:51 +00:00
|
|
|
license = "MIT OR Apache-2.0"
|
2020-11-10 03:26:08 +00:00
|
|
|
keywords = ["game", "engine", "gamedev", "graphics", "bevy"]
|
|
|
|
categories = ["game-engines", "graphics", "gui", "rendering"]
|
|
|
|
|
|
|
|
[features]
|
2021-12-14 03:58:23 +00:00
|
|
|
trace = [ "bevy_app/trace", "bevy_ecs/trace", "bevy_render/trace" ]
|
2020-11-13 01:23:57 +00:00
|
|
|
trace_chrome = [ "bevy_log/tracing-chrome" ]
|
Add trace_tracy feature for Tracy profiling (#2832)
# Objective
[Tracy](https://github.com/wolfpld/tracy) is:
> A real time, nanosecond resolution, remote telemetry, hybrid frame and sampling profiler for games and other applications.
With the `trace_tracy` feature enabled, you run your bevy app and either a headless server (`capture`) or a live, interactive profiler UI (`Tracy`), and connect that to your bevy application to then stream the metric data and events, and save it or inspect it live/offline.
Previously when I implemented the spans across systems and stages and I was trying out different profiling tools, Tracy was too unstable on macOS to use. But now, quite some months later, it is working stably with Tracy 0.7.8. You can see timelines, aggregate statistics of mean system/stage execution times, and much more. It's very useful!
![Screenshot_2021-09-15_at_18 07 19](https://user-images.githubusercontent.com/302146/133554920-350d3d45-fbb8-479f-91f7-7a7a4f9f5873.png)
## Solution
- Use the `tracing-tracy` crate which supports our tracing spans
- Expose via the non-default feature `trace_tracy` for consistency with other `trace*` features
2021-09-16 23:39:22 +00:00
|
|
|
trace_tracy = [ "bevy_log/tracing-tracy" ]
|
2021-12-14 03:58:23 +00:00
|
|
|
wgpu_trace = ["bevy_render/wgpu_trace"]
|
2020-11-10 03:26:08 +00:00
|
|
|
|
|
|
|
# Image format support for texture loading (PNG and HDR are enabled by default)
|
2021-12-14 03:58:23 +00:00
|
|
|
hdr = ["bevy_render/hdr"]
|
|
|
|
png = ["bevy_render/png"]
|
|
|
|
dds = ["bevy_render/dds"]
|
|
|
|
tga = ["bevy_render/tga"]
|
|
|
|
jpeg = ["bevy_render/jpeg"]
|
|
|
|
bmp = ["bevy_render/bmp"]
|
2020-11-10 03:26:08 +00:00
|
|
|
|
|
|
|
# Audio format support (MP3 is enabled by default)
|
|
|
|
flac = ["bevy_audio/flac"]
|
|
|
|
mp3 = ["bevy_audio/mp3"]
|
|
|
|
vorbis = ["bevy_audio/vorbis"]
|
|
|
|
wav = ["bevy_audio/wav"]
|
|
|
|
|
2021-11-13 21:15:22 +00:00
|
|
|
# Enable watching file system for asset hot reload
|
|
|
|
filesystem_watcher = ["bevy_asset/filesystem_watcher"]
|
|
|
|
|
2020-11-10 03:26:08 +00:00
|
|
|
serialize = ["bevy_input/serialize"]
|
|
|
|
|
|
|
|
# Display server protocol support (X11 is enabled by default)
|
|
|
|
wayland = ["bevy_winit/wayland"]
|
|
|
|
x11 = ["bevy_winit/x11"]
|
|
|
|
|
2021-01-03 20:39:11 +00:00
|
|
|
# enable rendering of font glyphs using subpixel accuracy
|
2021-12-14 03:58:23 +00:00
|
|
|
subpixel_glyph_atlas = ["bevy_text/subpixel_glyph_atlas"]
|
2021-01-03 20:39:11 +00:00
|
|
|
|
2021-12-22 20:59:48 +00:00
|
|
|
# Optimise for WebGL2
|
|
|
|
webgl = ["bevy_pbr/webgl", "bevy_render/webgl"]
|
|
|
|
|
2021-04-14 21:40:36 +00:00
|
|
|
# enable systems that allow for automated testing on CI
|
2021-12-14 03:58:23 +00:00
|
|
|
bevy_ci_testing = ["bevy_app/bevy_ci_testing", "bevy_render/ci_limits"]
|
2021-04-14 21:40:36 +00:00
|
|
|
|
2020-11-10 03:26:08 +00:00
|
|
|
[dependencies]
|
|
|
|
# bevy
|
2022-01-08 10:18:22 +00:00
|
|
|
bevy_app = { path = "../bevy_app", version = "0.6.0" }
|
|
|
|
bevy_asset = { path = "../bevy_asset", version = "0.6.0" }
|
|
|
|
bevy_core = { path = "../bevy_core", version = "0.6.0" }
|
|
|
|
bevy_derive = { path = "../bevy_derive", version = "0.6.0" }
|
|
|
|
bevy_diagnostic = { path = "../bevy_diagnostic", version = "0.6.0" }
|
|
|
|
bevy_ecs = { path = "../bevy_ecs", version = "0.6.0" }
|
|
|
|
bevy_input = { path = "../bevy_input", version = "0.6.0" }
|
|
|
|
bevy_log = { path = "../bevy_log", version = "0.6.0" }
|
|
|
|
bevy_math = { path = "../bevy_math", version = "0.6.0" }
|
|
|
|
bevy_reflect = { path = "../bevy_reflect", version = "0.6.0", features = ["bevy"] }
|
|
|
|
bevy_scene = { path = "../bevy_scene", version = "0.6.0" }
|
|
|
|
bevy_transform = { path = "../bevy_transform", version = "0.6.0" }
|
|
|
|
bevy_utils = { path = "../bevy_utils", version = "0.6.0" }
|
|
|
|
bevy_window = { path = "../bevy_window", version = "0.6.0" }
|
|
|
|
bevy_tasks = { path = "../bevy_tasks", version = "0.6.0" }
|
2020-11-10 03:26:08 +00:00
|
|
|
# bevy (optional)
|
2022-01-08 10:18:22 +00:00
|
|
|
bevy_audio = { path = "../bevy_audio", optional = true, version = "0.6.0" }
|
|
|
|
bevy_core_pipeline = { path = "../bevy_core_pipeline", optional = true, version = "0.6.0" }
|
|
|
|
bevy_gltf = { path = "../bevy_gltf", optional = true, version = "0.6.0" }
|
|
|
|
bevy_pbr = { path = "../bevy_pbr", optional = true, version = "0.6.0" }
|
|
|
|
bevy_render = { path = "../bevy_render", optional = true, version = "0.6.0" }
|
|
|
|
bevy_dynamic_plugin = { path = "../bevy_dynamic_plugin", optional = true, version = "0.6.0" }
|
|
|
|
bevy_sprite = { path = "../bevy_sprite", optional = true, version = "0.6.0" }
|
|
|
|
bevy_text = { path = "../bevy_text", optional = true, version = "0.6.0" }
|
|
|
|
bevy_ui = { path = "../bevy_ui", optional = true, version = "0.6.0" }
|
|
|
|
bevy_winit = { path = "../bevy_winit", optional = true, version = "0.6.0" }
|
|
|
|
bevy_gilrs = { path = "../bevy_gilrs", optional = true, version = "0.6.0" }
|
2020-11-10 03:26:08 +00:00
|
|
|
|
2020-11-12 21:26:48 +00:00
|
|
|
[target.'cfg(target_os = "android")'.dependencies]
|
2021-12-09 20:14:00 +00:00
|
|
|
ndk-glue = {version = "0.5", features = ["logger"]}
|