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

rt(wgpu): allow arbitrary smart pointers around wgpu device objects #153

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

chyyran
Copy link
Member

@chyyran chyyran commented Nov 20, 2024

This makes the wgpu frame functions take WgpuDeviceObjects , which yield a &wgpu::Device and &wgpu::Queue.

This is to accommodate less expensive ways of storing the device and queue than an Arc

@chyyran
Copy link
Member Author

chyyran commented Dec 6, 2024

I think gfx-rs/wgpu#6665 will pretty much obsolete this, as I was planning to get this in with wgpu 24 anyways.

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.

1 participant