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

How to invoke begin_defragmentation? #73

Open
adrian-afl opened this issue Jan 3, 2025 · 1 comment
Open

How to invoke begin_defragmentation? #73

adrian-afl opened this issue Jan 3, 2025 · 1 comment

Comments

@adrian-afl
Copy link

Hello, I'm facing a small problem related to defragmentation.
The problem I have is that in Allocator

  • the function begin_defragmentation requires a parameter info of type ffi::VmaDefragmentationInfo
  • ffi::VmaDefragmentationInfo is private, as it's not exposed via lib.rs, the whole ffi is private

How can I call the begin_defragmentation, or how can I get access to ffi::VmaDefragmentationInfo?

@Neo-Zhixing
Copy link
Collaborator

It could just be that no one actually used defragmentation on VMA. Feel free to open a PR to expose ffi::VmaDefragmentationInfo.

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

No branches or pull requests

2 participants