Backlog/lib/tracy
Peter Li 641f38f295 Backlog initial-comit SDL gpu examples cooking shaders properly 2025-04-07 19:51:46 -07:00
..
tracy-0.10 Backlog initial-comit SDL gpu examples cooking shaders properly 2025-04-07 19:51:46 -07:00
.gitignore Backlog initial-comit SDL gpu examples cooking shaders properly 2025-04-07 19:51:46 -07:00
LICENSE Backlog initial-comit SDL gpu examples cooking shaders properly 2025-04-07 19:51:46 -07:00
README.md Backlog initial-comit SDL gpu examples cooking shaders properly 2025-04-07 19:51:46 -07:00
build.zig Backlog initial-comit SDL gpu examples cooking shaders properly 2025-04-07 19:51:46 -07:00
build.zig.zon Backlog initial-comit SDL gpu examples cooking shaders properly 2025-04-07 19:51:46 -07:00
build_tracy.zig Backlog initial-comit SDL gpu examples cooking shaders properly 2025-04-07 19:51:46 -07:00
tracy.zig Backlog initial-comit SDL gpu examples cooking shaders properly 2025-04-07 19:51:46 -07:00
tracy_test.zig Backlog initial-comit SDL gpu examples cooking shaders properly 2025-04-07 19:51:46 -07:00

README.md

How to use this binding

  1. Copy build_tracy.zig and tracy.zig into your project.
  2. In build.zig, import build_tracy.zig and call link.
  3. If tracy should be enabled, pass the path to the folder containing TracyClient.cpp.
  4. Otherwise, pass null as the path to tracy.
  5. In your source, use the bindings in tracy.zig to mark zones. All of the api points continue to exist when tracy is disabled, but they are empty.

For your convenience, the minimal source needed to build tracy client v0.7.8 is vendored in this repo. The tracy server and further documentation are available in the official tracy repo:

https://github.com/wolfpld/tracy