summaryrefslogtreecommitdiffstats
path: root/src/video_core/renderer_vulkan/vk_memory_manager.h (unfollow)
Commit message (Collapse)AuthorFilesLines
2020-01-06vk_memory_manager: Misc changesReinUsesLisp1-12/+60
* Allocate memory in discrete exponentially increasing chunks until the 128 MiB threshold. Allocations larger thant that increase linearly by 256 MiB (depending on the required size). This allows to use small allocations for small resources. * Move memory maps to a RAII abstraction. To optimize for debugging tools (like RenderDoc) users will map/unmap on usage. If this ever becomes a noticeable overhead (from my profiling it doesn't) we can transparently move to persistent memory maps without harming the API, getting optimal performance for both gameplay and debugging. * Improve messages on exceptional situations. * Fix typos "requeriments" -> "requirements". * Small style changes.
2019-02-19vk_memory_manager: Implement memory managerReinUsesLisp1-0/+87
A memory manager object handles the memory allocations for a device. It allocates chunks of Vulkan memory objects and then suballocates.