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

Replace Suballocator::cleanup with Suballocator::reset #2585

Merged
merged 1 commit into from
Oct 22, 2024

Conversation

marc0246
Copy link
Contributor

Being able to reset a suballocator is a very useful property for any kind of suballocator to have (and no reason it couldn't).

Changelog:

### Breaking changes
Changes to memory allocation:
- `Suballocator::cleanup` was replaced with `Suballocator::reset`, allowing any suballocator to deallocate all suballocations at once, not just the bump allocator.
- `BumpAllocator::reset` was removed.

@Rua Rua merged commit 00fd847 into vulkano-rs:master Oct 22, 2024
6 checks passed
@marc0246 marc0246 deleted the suballocator-reset branch October 22, 2024 11:53
Rua added a commit that referenced this pull request Oct 22, 2024
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