Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add examples crate #124

Merged
merged 5 commits into from
Dec 4, 2024
Merged

Add examples crate #124

merged 5 commits into from
Dec 4, 2024

Conversation

Dinnerbone
Copy link
Contributor

@Dinnerbone Dinnerbone commented Dec 1, 2024

Four examples are included with this PR, with a framework to add more:

  • wgpu_frame_images: Demonstrates capturing frame images with wgpu
  • secondary_frames: Demonstrates secondary frames, both continuous and discontinuous
  • zones: Demonstrates the use of zones to measure work
  • threads: Demonstrates the use of zones across threads

Run them with cargo run -p tracy-client-examples -- example_name.

@Dinnerbone Dinnerbone force-pushed the examples branch 2 times, most recently from f0e42e4 to e51fc8d Compare December 2, 2024 00:18
@Dinnerbone
Copy link
Contributor Author

Dinnerbone commented Dec 4, 2024

Looks like wgpu has a higher rustc requirement - can we bump ours?
(or is there a way to have that separate from examples project?)

@nagisa nagisa merged commit 0a1ea92 into nagisa:main Dec 4, 2024
31 of 46 checks passed
@nagisa
Copy link
Owner

nagisa commented Dec 4, 2024

I'll fix the CI before a release, thank you very much!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants