-
-
Notifications
You must be signed in to change notification settings - Fork 39
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 tests for object releasing #403
Conversation
Can you explain what polling the device does conceptually? |
From what I understand, wgpu has an an event-loop of sorts, so it can perform asynchronous tasks. Polling the device flushes the device's queue. We also use poll in the functions that are asyn in nature, like buffer mapping. Related to #391. |
I think this is good to go. I'll have a look (probably after the weekend) what the state of #275 is. But in the mean time this is ready for review. |
I created 2 new issues for follow-up work: |
Closes #353
This adds tests, in a new folder so it won't interfere with the unit tests. The idea is basically, doing for each kind of object:
Todo:
delayed_releaser
? Yes!Measure process memory consumption to detect leaks?--> Test against memory leaks by measuring process memory #406BindGroupLayout
object to cache instances like wgpu-core does?