Commit Graph

542 Commits

Author SHA1 Message Date
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
Adam Sawicki
8dad535a9c vk_mem_alloc.h: Small fix found by clang compilation. .travis.yml: cleanup. 2017-08-21 17:06:45 +02:00
Adam Sawicki
01441d99a4 Trying to setup Travis CI #5 - Fixed .travis.yml 2017-08-21 16:57:04 +02:00
Adam Sawicki
42df23d8c4 Trying to setup Travis CI #4 - Removing "sudo apt-get dist-upgrade" as not working on Travis CI. 2017-08-21 16:45:51 +02:00
Adam Sawicki
bf00f133df Trying to setup Travis CI #3 - "Windows-x64" platform renamed back to "x64" because AppVeyor doesn't allow to enter custom platform name. 2017-08-21 16:04:40 +02:00
Adam Sawicki
59a3e7e885 Trying to setup Travis CI #2 2017-08-21 15:47:30 +02:00
Adam Sawicki
ddaf6115d9 First test of TravisCI build. 2017-08-21 12:47:39 +02:00
Adam Sawicki
f7d1c9b0fe Merge pull request #7 from duodenim/fix-compilation-errors
Fix memcpy and VmaVector compile errors
2017-08-21 10:38:19 +02:00
duodenim
ffd093c993 Fix memcpy and VmaVector compile errors 2017-08-19 16:31:48 -05:00
Adam Sawicki
10844a8f1c Changed image memory barriers to fix validation layer errors. Simplified code - deleted functions CopyImage, TransitionImageLayout. 2017-08-16 17:32:09 +02:00
Adam Sawicki
93e957055b Merge pull request #6 from DustinHLand/master
Fill out the VmaAllocationInfo parameter passed to vmaAllocateX.
2017-08-14 11:37:06 +02:00