Commit Graph

150 Commits

Author SHA1 Message Date
Adam Sawicki
5c9047dbaa Added VmaPoolStats::unusedRangeSizeMax. 2017-09-25 15:24:31 +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
ab0b39a783 Added structure VmaVulkanFunctions, macro VMA_STATIC_VULKAN_FUNCTIONS. 2017-09-22 16:57:38 +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
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
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
8dad535a9c vk_mem_alloc.h: Small fix found by clang compilation. .travis.yml: cleanup. 2017-08-21 17:06:45 +02:00
Adam Sawicki
59a3e7e885 Trying to setup Travis CI #2 2017-08-21 15:47:30 +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
Dustin Land
f6bbb2053b Fill out the VmaAllocationInfo parameter passed to vmaAllocateMemory, vmaAllocateMemoryForBuffer, and vmaAllocateMemoryForImage. 2017-08-12 02:24:06 -05:00
Adam Sawicki
816b55748a VectorInsert, VectorRemove functions: Added missing Vma- prefix. 2017-08-10 14:49:54 +02:00
Adam Sawicki
89f6e44635 Fixed vmaCreateBuffer, vmaCreateImage to always return null as *pBuffer, *pImage, *pAllocation of not succeeded. Fixed that in documentation as well. 2017-08-09 13:06:41 +02:00
Adam Sawicki
e97e9b6637 Two fixes for "Portability issues" Issue #5 thanks @rextimmy! 2017-08-08 11:40:31 +02:00
Adam Sawicki
ea6da94c24 Functions VmaUint32ToStr, VmaUint64ToStr: Changed usage of _ultoa_s, _ui64toa_s to snprintf to rely on portable standard library only. (Issue #4 - thanks @Evangel63) 2017-08-07 11:43:49 +02:00
Adam Sawicki
73fb4aa325 Clarified documentation of vmaUnmapPersistentlyMappedMemory function (thanks @bobvodka) 2017-07-18 16:24:24 +02:00
Adam Sawicki
4db8d40385 Updated CHANGELOG.md. 2017-07-13 16:38:20 +02:00
Adam Sawicki
0851377d4e Merge branch 'v2' 2017-07-13 16:14:04 +02:00
Adam Sawicki
277288be9e Added { } after every if(). (Thanks @RCL) 2017-07-11 21:54:00 +02:00
Adam Sawicki
4dc9934eb4 Fixing = instead of == in VMA_HEAVY_ASSERT (thanks @zeux!) 2017-07-11 17:42:44 +02:00
Adam Sawicki
d55d084dd3 Fixing = instead of == in VMA_HEAVY_ASSERT (thanks @zeux!) 2017-07-11 17:41:40 +02:00
Adam Sawicki
9e1684f87a Small fix in documentation. 2017-07-11 15:27:08 +02:00
Adam Sawicki
0845f1c2e5 Small fix in VmaBlock::Free (thanks @dylanede for pointing this!) 2017-07-11 15:25:19 +02:00
Adam Sawicki
988ac4c05d Updated version number to 2.0.0-alpha.2. Regenerated Doxygen documentation. 2017-07-11 15:22:12 +02:00
Adam Sawicki
31341608f4 Added VmaAllocatorCreateInfo::flags, VmaAllocatorFlags, VMA_ALLOCATOR_EXTERNALLY_SYNCHRONIZED_BIT. 2017-07-11 15:21:10 +02:00
Adam Sawicki
f30ee85a15 Small fix in VmaBlock::Free (thanks @dylanede for pointing this!) 2017-07-11 15:00:11 +02:00
Adam Sawicki
a59788d60d Correct wording of comment about required flags
The word "subset" is used when it should be "superset" instead.
2017-07-11 14:43:43 +02:00
Adam Sawicki
4184ee53bd Updated documentation. 2017-07-11 14:42:45 +02:00
Dylan Ede
d0f7c97f76 Correct wording of comment about required flags
The word "subset" is used when it should be "superset" instead.
2017-07-08 11:32:45 +01:00
Adam Sawicki
2a22d61297 Changed "CONFIGURATION SECTION" to contain #ifndef so you can define these macros before including this header, not necessarily change them in the file. (Cherry pick from v1) 2017-07-04 15:52:30 +02:00
Adam Sawicki
b0425876ec Fix for Linux GCC cont'd. Enabled warning level 4 in Visual Studio for compilation of vk_mem_alloc.h. (Cherry pick from v1) 2017-07-04 15:47:00 +02:00
Adam Sawicki
7ec64121d8 Fixed for Linux GCC compilation. (Cherry pick from v1) 2017-07-04 15:45:59 +02:00
Adam Sawicki
5197efc676 Version 1.0.1 release. 2017-07-04 15:28:48 +02:00
Adam Sawicki
8bc1a7df83 Changed "CONFIGURATION SECTION" to contain #ifndef so you can define these macros before including this header, not necessarily change them in the file. 2017-07-04 15:22:57 +02:00
Adam Sawicki
86ccd63a98 Enabled warning level 4 in Visual Studio for compilation of vk_mem_alloc.h. 2017-07-04 14:57:53 +02:00
Adam Sawicki
b2c2d3bd0b Fixed for Linux GCC compilation. 2017-07-04 14:43:37 +02:00
Adam Sawicki
2f16fa52d8 Small fixes merge from v2. 2017-07-04 14:43:20 +02:00
Adam Sawicki
819860e1f0 Submitting version 2.0.0-alpha.1 to separate branch. 2017-07-04 14:30:38 +02:00
Adam Sawicki
0a41b12c10 Added CHANGELOG.md. Introduced semantic versioning - current version is 1.0.0. 2017-07-04 14:03:54 +02:00
Adam Sawicki
9137407734 Small addition to the documentation. 2017-06-20 12:52:26 +02:00
Adam Sawicki
9b3adfc9d0 Generated Doxygen documentation into docs/ directory. 2017-06-20 11:17:23 +02:00
Adam Sawicki
e6e498f63a First commit 2017-06-16 17:21:31 +02:00