Adam Sawicki
4039e45a19
Added documentation chapter "Versioning and compatibility"
...
Many improvements in documentation and README.
2022-02-26 13:26:20 +01:00
Adam Sawicki
88510e9801
New API for defragmentation. COMPATIBILITY BREAKING!
...
See structure VmaDefragmentationInfo, VmaDefragmentationMove, VmaDefragmentationPassMoveInfo, VmaDefragmentationStats, function vmaBeginDefragmentation, vmaEndDefragmentation, vmaBeginDefragmentationPass, vmaEndDefragmentationPass.
Switched to TLSF as the default algorithm - in default pools, custom pools, virtual blocks. Removed generic and buddy algorithm. Removed flags: VMA_POOL_CREATE_BUDDY_ALGORITHM_BIT, VMA_POOL_CREATE_TLSF_ALGORITHM_BIT, VMA_VIRTUAL_BLOCK_CREATE_BUDDY_ALGORITHM_BIT, VMA_VIRTUAL_BLOCK_CREATE_TLSF_ALGORITHM_BIT.
Updated and regenerated documentation.
2022-02-22 23:38:19 +01:00
Adam Sawicki
c168e42de4
Rebuilt the docs
2022-02-17 14:44:48 +01:00
Adam Sawicki
ed83ac24d2
Changes in ALLOCATION_CREATE_STRATEGY flags. COMPATIBILITY BREAKING!
...
Removed flags: VMA_ALLOCATION_CREATE_STRATEGY_MIN_FRAGMENTATION_BIT, VMA_ALLOCATION_CREATE_STRATEGY_WORST_FIT_BIT, VMA_VIRTUAL_ALLOCATION_CREATE_STRATEGY_MIN_FRAGMENTATION_BIT.
Regenerated documentation.
2022-01-26 17:47:11 +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
e5c03604c9
Improvements in documentation
2021-12-03 18:04:34 +01:00
Adam Sawicki
01a0ba193a
Added documentation chapter "Virtual allocator"
...
Regenerated the documentation.
2021-10-28 18:25:57 +02: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
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
0ef61c2fd5
Fix in documentation chapter "Finding out if memory is mappable"
...
Fixes #143
2020-08-18 14:20:37 +02:00
Adam Sawicki
72983b0aa1
Clarified documentation in few places to mention textures need to use LINEAR layout when accessed from the host
...
Rebuilt HTML documentation. Used new Doxygen 1.8.18.
Closes #129
2020-05-08 18:43:25 +02:00
Adam Sawicki
f575c5070b
Further changes in importing pointers to Vulkan functions
...
Reverted change removing configuration macro VMA_STATIC_VULKAN_FUNCTIONS.
Added configuration macro VMA_DYNAMIC_VULKAN_FUNCTIONS.
Fixes for Android.
Closes #111 , also refers to #56 .
2020-03-31 19:11:41 +02:00
Adam Sawicki
451bf601d8
Bump version number to 3.0.0-development as we broken backward compatibility
...
Also rebuilt the docs.
2020-03-23 18:24:02 +01: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
a1d992f5d1
Add function vmaGetAllocatorInfo, structure VmaAllocatorInfo
...
Closes #99
Also rebuilt Doxygen documentation.
2020-03-02 15:32:10 +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
e9bfb539d8
Publish version 2.3.0 final
...
Updated version number. Regenerated Release binaries and Doxygen documentation.
2019-12-04 14:26:59 +01:00
Adam Sawicki
cd7bc20429
Clarify documentation in regards to cache flush/invalidate in few places
...
See #91 , thanks @ROTARTSI82 !
2019-12-02 13:42:25 +01:00
Adam Sawicki
4670506a22
Announce version 2.3.0-alpha.1
2019-11-25 12:46:57 +01:00
Adam Sawicki
48b8a33869
Fixes and adjustments for budget, regenerate documentation
2019-11-02 15:24:33 +01:00
Adam Sawicki
87cea36670
Add "Common mistakes" documentation chapter
2019-07-02 12:24:48 +02:00
Adam Sawicki
6c8b7a2c3e
Added flag VMA_ALLOCATION_CREATE_DONT_BIND_BIT.
2019-03-05 13:40:29 +01:00
Adam Sawicki
796cdc62f6
Updated documentation - added information about VK_AMD_memory_allocation_behavior extension.
...
Regenerated documentation, using new Doxygen version.
2019-01-15 11:45:58 +01:00
Adam Sawicki
7c09f1a831
Fixed major bug, made few smaller fixes and additions in documentation.
2018-12-14 11:37:02 +01:00
Adam Sawicki
1a8424f41a
Preparations for v2.0.0 release. Updated version numbers. Rebuilt binaries and documentation.
2018-12-13 11:01:16 +01:00
Adam Sawicki
0d601d8789
Added documentation chapter "Writing custom defragmentation algorithm".
2018-12-07 23:09:46 +01:00
Adam Sawicki
638f42dd67
Rewritten documentation chapter about defragmentation.
2018-12-07 15:24:28 +01:00
Adam Sawicki
7ce9630bbf
Improved documentation chapters: Defragmentation, vmaDefragment(), Features not supported.
2018-09-28 14:51:09 +02:00
Adam Sawicki
3951aa5bc3
Merge branch 'allocation_defragmentation_strategies' into development
...
# Conflicts:
# docs/html/search/all_f.js
# docs/html/vk__mem__alloc_8h.html
# docs/html/vk__mem__alloc_8h_source.html
# src/vk_mem_alloc.h
2018-09-21 16:48:42 +02:00
Adam Sawicki
c6432d1d45
Buddy allocation algorithm finished and documented!
2018-09-21 16:44:16 +02:00
Adam Sawicki
f305aebdfd
Fixed version number in source file.
2018-09-10 14:07:32 +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
Adam Sawicki
ca5db0b8a5
Rebuilt Doxygen documentation after upgrading Doxygen version.
2018-09-07 14:58:49 +02:00
Adam Sawicki
a5d5ffafe2
Updated CHANGELOG.md. Recompiled binaries and Doxygen documentation.
2018-08-27 11:05:24 +02:00
Adam Sawicki
f9b6868cf1
Described version 2.1.0-beta.1 in CHANGELOG.md.
...
Minor fixes in documentation.
2018-08-24 12:13:37 +02:00
Adam Sawicki
4c6e9e81bc
Linear allocation algorithm is finished! Recompiled binaries, regenerated Doxygen documentation. Announcing version 2.1.0-beta.1.
2018-08-24 11:23:37 +02:00
Adam Sawicki
dedab850e9
Documented linear allocation algorithm. Added "Linear allocation algorithm" documentation chapter.
2018-08-23 15:00:58 +02:00
Adam Sawicki
fd64a60957
Added documentation of the whole "Record and replay" feature to Doxygen docs and README.md.
2018-08-21 11:38:32 +02:00
Adam Sawicki
e44c62684d
Added debug macro VMA_DEBUG_INITIALIZE_ALLOCATIONS to initialize contents of allocations with a bit pattern. Documented it. Added test for it.
...
Fixed some indentation.
2018-06-15 14:30:39 +02:00
Adam Sawicki
212a4a6567
Added new feature: corruption detection. Added debug macro VMA_DEBUG_DETECT_CORRUPTION, functions vmaCheckCorruption, vmaCheckPoolCorruption
2018-06-14 15:51:47 +02:00
Adam Sawicki
776ae0d5f8
Improved support for non-coherent memory. Added functions: vmaFlushAllocation, vmaInvalidateAllocation. nonCoherentAtomSize is respected automatically. Issue #27 Thanks @egdaniel !
...
Also added VmaVulkanFunctions::vkFlushMappedMemoryRanges, vkInvalidateMappedMemoryRanges. Fixed bug with uninitialized VmaPool_T::m_Id.
2018-06-08 17:11:12 +02:00
Adam Sawicki
be9436868e
Regenerated documentation.
2018-03-13 17:38:40 +01:00
Adam Sawicki
57fa5580c0
Documentation: Added "Recommended usage patterns" chapter.
2018-03-12 17:46:49 +01:00
Adam Sawicki
d8359cd295
Documentation: Written "Statistics" chapter.
2018-03-12 15:58:23 +01:00
Adam Sawicki
727e8b269f
More documentation. Refactored table of contents.
2018-03-12 15:34:32 +01:00
Adam Sawicki
ec421f8763
Created documentation chapter "General considerations".
2018-03-12 13:27:31 +01:00