Commit Graph

1125 Commits

Author SHA1 Message Date
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
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
caea62140c Dummy commit to test webhook for AppVeyor. 2017-07-14 11:12:37 +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