Memory Management #3
Loading…
Reference in New Issue
There is no content yet.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may exist for a short time before cleaning up, in most cases it CANNOT be undone. Continue?
The memory management system needs a rework to make it more like FNA3D's Vulkan renderer. Namely we need to keep track of both free and used regions, and we need to defragment when necessary to keep memory usage low.
One outstanding question is how to deal with the case where resources like images need to be moved, causing associated VkImageViews to require destruction. In FNA3D pretty much all resources are managed internally but this isn't the case for Refresh. We might need to think about doing some pointer indirection so that we can replace internal handles for things like Framebuffers without affecting the user.