Commit Graph

765 Commits

Author SHA1 Message Date
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
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
Adam Sawicki
7600059ae7 Merge pull request #1 from dylanede/patch-1
Correct wording of comment about required flags
2017-07-11 10:13:10 +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
f1ce3ad7bb Added AppVeyor build status to README.md. 2017-07-05 17:09:56 +02:00
Adam Sawicki
0a5b3334af Revert "Comitting generated Visual Studio 2015 project to quickly start AppVeyor."
This reverts commit 3991af829f.
2017-07-05 17:02:19 +02:00
Adam Sawicki
b6b5fd1ce3 Fixing Vulkan paths in build script. 2017-07-05 16:47:26 +02:00
Adam Sawicki
3991af829f Comitting generated Visual Studio 2015 project to quickly start AppVeyor. 2017-07-04 16:55:09 +02: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