Commit 173c352
authored
enable tracy subscriber layer on android (bevyengine#21760)
# Objective
I really need tracing on android right now as I'm attempting to profile
bevy running on a quest 3.
## Solution
I saw [this issue](bevyengine#21612)
already opened about it around 2 weeks ago, and I was able to use it to
figure out how to enable tracy to run on android. However I did not
enable it for IOS and made sure to retain the same behavior for other
flags such as chrome style profiling.
## Testing
I've tested that the engine still builds on both windows and to android.
Additionally the flame graph will now show complete frames of info,
instead of one single mono-frame with 4 different render events.
Android also requires: `android.permission.INTERNET` and possibly
`android.permission.NEARBY_WIFI_DEVICES` to be able to host the debug
server.
## Showcase
Tracy running for an apk deployed to a quest 3.
<img width="2090" height="687" alt="image"
src="https://github.com/user-attachments/assets/16e249c4-48db-46fd-baa0-604ec9a12856"
/>1 parent 0b802bd commit 173c352
1 file changed
+5
-12
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
336 | 336 | | |
337 | 337 | | |
338 | 338 | | |
339 | | - | |
340 | | - | |
341 | | - | |
342 | | - | |
343 | | - | |
| 339 | + | |
344 | 340 | | |
345 | | - | |
| 341 | + | |
346 | 342 | | |
347 | 343 | | |
348 | 344 | | |
| |||
386 | 382 | | |
387 | 383 | | |
388 | 384 | | |
389 | | - | |
| 385 | + | |
390 | 386 | | |
391 | 387 | | |
392 | 388 | | |
| 389 | + | |
| 390 | + | |
393 | 391 | | |
394 | 392 | | |
395 | 393 | | |
| |||
400 | 398 | | |
401 | 399 | | |
402 | 400 | | |
403 | | - | |
404 | | - | |
405 | | - | |
406 | | - | |
407 | | - | |
408 | 401 | | |
409 | 402 | | |
410 | 403 | | |
| |||
0 commit comments