Adam Sawicki
226bd5a6ad
New API for statistics. COMPATIBILITY BREAKING!
...
New structure VmaStatistics, VmaDetailedStatistics, VmaTotalStatistics. Modified structure VmaBudget.
New function vmaCalculateStatistics, vmaGetPoolStatistics, vmaCalculatePoolStatistics, vmaGetVirtualBlockStatistics, vmaCalculateVirtualBlockStatistics. vmaGetHeapBudgets function unchanged.
Updated and rebuilt the docs.
2022-02-22 15:19:35 +01:00
Adam Sawicki
d3a85f0dc3
Refactored virtual allocator. (COMPATIBILITY BREAKING!) Added TLSF algoritym.
...
Refactored virtual allocator: Added type VmaVirtualAllocation, member VmaVirtualAllocationInfo::offset, changed parameters of vmaVirtualAllocate, vmaVirtualFree, vmaSetVirtualAllocationUserData, vmaGetVirtualAllocationInfo.
Added TLSF algorithm: Added VMA_POOL_CREATE_TLSF_ALGORITHM_BIT, VMA_VIRTUAL_BLOCK_CREATE_TLSF_ALGORITHM_BIT.
Some internal refactoring.
Improved documentation: Grouped API elements into Doxygen modules.
Code mostly by @medranSolus.
2022-01-20 17:00:33 +01:00
Adam Sawicki
a8581fc96c
Deleted the whole Record&Replay feature. COMPATIBILITY BREAKING!
...
Removed from the API: VmaAllocatorCreateInfo::pRecordSettings, VmaRecordSettings, VmaRecordFlagBits, VmaRecordFlags.
Regenerated documentation. Updated README.
2022-01-10 18:11:09 +01:00
Adam Sawicki
d2f0313d20
Fixes in comments
...
Regenerated documentation.
2021-10-18 17:32:40 +02:00
Adam Sawicki
9f586a20bc
Added documentation chapter about OpenGL interop
...
Rebuilt the docs.
2021-07-28 15:25:52 +02:00
Adam Sawicki
e92f989423
Added VmaAllocatorCreateInfo::pTypeExternalMemoryHandleTypes
2021-07-07 14:52:10 +02:00
Adam Sawicki
0790b5f0a9
Regenerated documentation
...
Used new Doxygen 1.9.1
2021-06-21 14:55:01 +02:00
Adam Sawicki
3528e2aed3
Minor formatting fix in documentation
...
Regenerated documentation using new Doxygen.
2020-10-15 15:04:12 +02:00
Adam Sawicki
0620c8e5e1
Add test and documentation for resource aliasing (overlap).
2020-08-18 16:43:44 +02:00
Adam Sawicki
e73e988daf
Add support for buffer device address, together with documentation and tests
...
Added VMA_ALLOCATOR_CREATE_BUFFER_DEVICE_ADDRESS_BIT.
2020-03-20 18:05:42 +01:00
Adam Sawicki
76004205fd
Add documentation chapter about VK_AMD_device_coherent_memory extension usage
...
Regenerated Doxygen documentation.
2020-02-07 17:18:35 +01:00
Adam Sawicki
48b8a33869
Fixes and adjustments for budget, regenerate documentation
2019-11-02 15:24:33 +01:00
Adam Sawicki
4abe30c1ae
Add functions vmaBindBufferMemory2, vmaBindImageMemory2, flag VMA_ALLOCATOR_CREATE_KHR_BIND_MEMORY2_BIT
...
This change adds usage of VK_KHR_bind_memory2 extension.
Also add structure members VmaVulkanFunctions::vkBindBufferMemory2KHR, vkBindImageMemory2KHR.
2019-07-02 14:37:21 +02:00
Adam Sawicki
6c8b7a2c3e
Added flag VMA_ALLOCATION_CREATE_DONT_BIND_BIT.
2019-03-05 13:40:29 +01:00
Adam Sawicki
71db590d7d
Merge branch 'sparse_binding_example' into v2.2
...
# Conflicts:
# docs/html/vk__mem__alloc_8h_source.html
# src/Tests.cpp
# src/VmaReplay/VmaReplay.cpp
# src/VulkanSample.cpp
# src/vk_mem_alloc.h
2018-12-10 14:45:56 +01:00
Adam Sawicki
638f42dd67
Rewritten documentation chapter about defragmentation.
2018-12-07 15:24:28 +01:00
Adam Sawicki
6a6d8c6ea2
Merge branch 'master' into sparse_binding_example
...
# Conflicts:
# docs/html/vk__mem__alloc_8h.html
# docs/html/vk__mem__alloc_8h_source.html
# src/Tests.cpp
# src/VulkanSample.cpp
# src/vk_mem_alloc.h
2018-12-05 13:20:32 +01:00
Adam Sawicki
48a12aa835
Merge branch 'master' into allocation_defragmentation_strategies
...
# Conflicts:
# docs/html/vk__mem__alloc_8h_source.html
# src/Tests.cpp
# src/vk_mem_alloc.h
2018-11-16 14:36:57 +01:00
Adam Sawicki
b0c363693f
Added function vmaResizeAllocation.
...
Added tests: function TestResize. Bumped CSV recording file format version to 1.4.
2018-11-13 16:17:38 +01:00
Adam Sawicki
012a4ac697
Designed and documented new interface for defragmentation.
...
Added: VmaDefragmentationContext, VmaDefragmentationFlagBits, VmaDefragmentationFlags, VmaDefragmentationInfo2, vmaDefragmentationBegin(), vmaDefragmentationEnd(). Extended VmaDefragmentationStats by allocationsLost. Deprecated VmaDefragmentationInfo2, vmaDefragment().
2018-10-09 13:25:01 +02:00
Adam Sawicki
d062b784d3
Added functions: vmaAllocateMemoryPages, vmaFreeMemoryPages to create and destroy multiple allocations at once.
2018-10-03 15:26:22 +02:00
Adam Sawicki
7ce9630bbf
Improved documentation chapters: Defragmentation, vmaDefragment(), Features not supported.
2018-09-28 14:51:09 +02:00
Adam Sawicki
e929bab5d8
Prepared version 2.1.0 final. Rebuilt binaries. Updated CHANGELOG.md. Rebuilt Doxygen dovcumentation (with new Doxygen version).
2018-09-10 11:14:05 +02:00