Commit Graph

202 Commits

Author SHA1 Message Date
Adam Sawicki
3bd398a373 Fixed attachment layout transitions. 2017-11-13 16:10:38 +01:00
Adam Sawicki
c353ad0717 Version 2.0.0-alpha.6. Added VMA_ALLOCATION_CREATE_USER_DATA_COPY_STRING_BIT. 2017-11-13 15:03:04 +01:00
Adam Sawicki
5268dbbce5 Version 2.0.0-alpha.5. Major change in memory mapping - now it's internally reference-counted.
Renamed flag VMA_ALLOCATION_CREATE_PERSISTENT_MAP_BIT to VMA_ALLOCATION_CREATE_MAPPED_BIT.
See documentation of vmaMapMemory().
2017-11-08 12:52:05 +01:00
Adam Sawicki
ee92a03f59 VmaAllocator_T::AllocateMemoryOfType: Fixed major bug when VMA_ALLOCATION_CREATE_PERSISTENT_MAP_BIT is used with VMA_MEMORY_USAGE_GPU_ONLY. 2017-10-18 15:35:00 +02:00
Adam Sawicki
0fcf86292b Documentation: changed page identifier to lowercase to (hopefully) fix 404 error on GitHub. 2017-10-17 15:13:48 +02:00
Adam Sawicki
3057956f31 Minor improvements in documentation. 2017-10-17 12:14:41 +02:00
Adam Sawicki
07a7deb09d Improvements in documentation formatting. 2017-10-17 12:07:39 +02:00
Adam Sawicki
c005a84e37 Added documentation for VK_KHR_dedicated_allocation extension. 2017-10-17 11:57:56 +02:00
Adam Sawicki
d08dc0cd6a Reorganized Doxygen documentation into more separate pages. 2017-10-17 11:27:14 +02:00
Adam Sawicki
14137d11bc Removed unnecessary VkSubpassDependency. 2017-10-16 18:06:05 +02:00
Adam Sawicki
283207beb0 Renamed VMA_ALLOCATOR_ flags to VMA_ALLOCATOR_CREATE_. Improved support for VK_KHR_dedicated_allocation. 2017-10-13 17:54:47 +02:00
Adam Sawicki
2742a9e6e7 .travis.yml: Updated Vulkan SDK to latest version 1.0.61.1. 2017-10-03 11:36:44 +02:00
Adam Sawicki
f72365c0fc Small fix in VmaAllocator_T::AllocateDedicatedMemory. 2017-10-03 11:32:55 +02:00
Adam Sawicki
358bc78544 Fixed support for VK_KHR_dedicated_allocation: Added missing usage of VkMemoryDedicatedAllocateInfoKHR structure. 2017-10-03 11:26:58 +02:00
Adam Sawicki
5db51b1264 Added support for VMA_ALLOCATION_CREATE_PERSISTENT_MAP_BIT without HOST_VISIBLE.
Implemented usage of VK_KHR_dedicated_allocation.
Renamed "own allocation" to "dedicated allocation" everywhere.
2017-10-02 18:31:03 +02:00
Adam Sawicki
1bb85fa719 Added support for VMA_ALLOCATION_CREATE_PERSISTENT_MAP_BIT without HOST_VISIBLE. Improved empty block heuristics. 2017-10-02 14:28:51 +02:00
Adam Sawicki
951f66a841 Improvements in documentation 2017-09-27 14:14:42 +02:00
Adam Sawicki
c7b3e7c85d Updated documents - added links to GitHub repository and GPUOpen product page. 2017-09-27 13:40:58 +02:00
Adam Sawicki
f79b75763c README.md: Added link to PyVMA. 2017-09-26 16:43:37 +02:00
Adam Sawicki
a892d137ae Small fix. 2017-09-26 13:58:44 +02:00
Adam Sawicki
f8b70f0542 Merge pull request #13 from realitix/missing_vulkan_function
Fix vulkan calls
2017-09-26 13:57:59 +02:00
Jean-Sebastien Bevilacqua
b19740c4e5 Fix vulkan calls
Some calls are made in a static way
2017-09-26 13:20:05 +02:00
Adam Sawicki
25c44a9320 Merge pull request #12 from realitix/c_mangling
Fix name mangling for C
2017-09-26 12:59:59 +02:00
Jean-Sebastien Bevilacqua
4cfa3d02c0 Fix name mangling for C
This patch force the header to be compiled as C.
This behavior allows to use this library in a C program.
2017-09-26 12:47:42 +02:00
Adam Sawicki
3606138794 Removed redundant VmaDeviceMemoryBlock::m_Size. 2017-09-25 17:42:26 +02:00
Adam Sawicki
40fd505639 Refactored some code from class VmaDeviceMemoryBlock to new class VmaBlockMetadata. 2017-09-25 16:44:48 +02:00
Adam Sawicki
58c090a705 Minor fix in README.md. 2017-09-25 15:47:57 +02:00
Adam Sawicki
42af34a3b2 Renamed members of VmaStatInfo structure to start with lower case, to make it consistent with overall style. Compatibility breaking! 2017-09-25 15:46:47 +02:00
Adam Sawicki
067f9082a8 Some improvements in documentation. 2017-09-25 15:29:34 +02:00
Adam Sawicki
5c9047dbaa Added VmaPoolStats::unusedRangeSizeMax. 2017-09-25 15:24:31 +02:00
Adam Sawicki
9c64d605f7 README.md minor fix. #2 2017-09-25 15:10:57 +02:00
Adam Sawicki
3e2ac39b0a README.md minor fix. 2017-09-25 15:09:21 +02:00
Adam Sawicki
19d74084f3 Improvements in documentation. Moved general description to README.md. 2017-09-25 15:07:34 +02:00
Adam Sawicki
eaf60ee784 Minor fixes around macro VMA_STATIC_VULKAN_FUNCTIONS (thanks @realitix!) #2 2017-09-25 10:35:40 +02:00
Adam Sawicki
0ced0960c4 Minor fixes around macro VMA_STATIC_VULKAN_FUNCTIONS (thanks @realitix!) 2017-09-25 10:34:57 +02:00
Adam Sawicki
ab0b39a783 Added structure VmaVulkanFunctions, macro VMA_STATIC_VULKAN_FUNCTIONS. 2017-09-22 16:57:38 +02:00
Adam Sawicki
ee0ce0daf0 Merge pull request #9 from realitix/fix_vma_stats
Robustify VmaStat
2017-09-21 11:50:05 +02:00
Jean-Sebastien Bevilacqua
231ea193fb Robustify VmaStat
Currently, VmaStat is not defined as typedef.
With GCC, this is not compiling.
2017-09-21 08:57:36 +02:00
Adam Sawicki
6ab1604070 Created vk_mem_alloc.natvis file. VmaVectorRemoveSorted: Fixed compilation error when STL is used. 2017-09-20 13:27:21 +02:00
Adam Sawicki
ef57bb36b3 Updated README.md with link to vulkan-malloc library. 2017-09-19 13:04:01 +02:00
Adam Sawicki
118049cda8 Added feature: VmaAllocatorCreateInfo::pHeapSizeLimit. 2017-09-19 11:38:01 +02:00
Adam Sawicki
a89a26c452 VmaBlockVector::VmaBlockVector: Fixed warning on GCC Linux (thanks @carlosga) 2017-09-14 11:17:20 +02:00
Adam Sawicki
853b251689 Fixed reporting custom pools and own allocations in statistics. Improved JSON printing of custom pools. Added convenience function VmaAllocator_T::MemoryTypeIndexToHeapIndex. 2017-09-14 11:11:36 +02:00
Adam Sawicki
14efd2a1cf VmaDefragmentator::DefragmentRound: Minor fix for warning in 32-bit version. 2017-09-13 12:53:50 +02:00
Adam Sawicki
6462ea6d2a Potential fix for Linux compilation with std::atomic. 2017-09-12 21:26:22 +02:00
Adam Sawicki
7d1c689f1e Fixes for Linux compilation (not everything fixed yet). 2017-09-12 20:57:27 +02:00
Adam Sawicki
2fd0415efa Updated CHANGELOG.md. 2017-09-12 20:55:52 +02:00
Adam Sawicki
976f920c15 Version 2.0.0-alpha.3 - major update. 2017-09-12 20:45:14 +02:00
Adam Sawicki
0c1c663062 Two small fixes. 2017-08-25 17:28:57 +02:00
Adam Sawicki
f1e93549c9 README.md: Added status image for Travis CI. 2017-08-21 17:26:37 +02:00