Commit Graph

1204 Commits

Author SHA1 Message Date
Adam Sawicki
727e8b269f More documentation. Refactored table of contents. 2018-03-12 15:34:32 +01:00
Adam Sawicki
ec421f8763 Created documentation chapter "General considerations". 2018-03-12 13:27:31 +01:00
Adam Sawicki
e915c1b6e3 Updated documentation chapter about lost allocations. 2018-03-12 13:23:06 +01:00
Adam Sawicki
7568dfce76 Written more documentation - about lost allocations. 2018-03-09 18:18:34 +01:00
Adam Sawicki
67a2328f8c Written more documentation. 2018-03-09 18:01:03 +01:00
Adam Sawicki
95451ab2a6 Written more documentation. 2018-03-09 17:49:19 +01:00
Adam Sawicki
359793763a Many minor formatting tweaks in documentation. 2018-03-09 17:35:48 +01:00
Adam Sawicki
2609a1d000 Merge branch 'development' into v2_release 2018-03-09 16:34:36 +01:00
Adam Sawicki
a1bd730379 Minor updates in README. 2018-03-09 16:30:24 +01:00
Adam Sawicki
5ae219a982 Updated version numer to 2.0.0 final in code and documentation. 2018-03-09 16:03:40 +01:00
Adam Sawicki
3d9caf39f9 README.md: Added link to VmaDumpVis. Fixed non-ANSI character to use UTF-8 not ASCII encoding. 2018-03-09 15:55:57 +01:00
Adam Sawicki
dad992fa12 Added VmaDumpVis tool. 2018-03-09 15:48:18 +01:00
Adam Sawicki
ff1cf54330
Merge pull request #22 from ItsBits/android_support
Add android support.
2018-03-08 10:17:46 +01:00
Unknown
e5b7332e89 Add android support. 2018-03-07 22:06:25 +01:00
Adam Sawicki
b31aac8a06 Minor fix bool -> VkBool32 on interface. 2018-03-06 10:34:15 +01:00
Adam Sawicki
9ecb59e847 Version 2.0.0-alpha.8. Added functions: vmaTouchAllocation, vmaFindMemoryTypeIndexForBufferInfo, vmaFindMemoryTypeIndexForImageInfo. 2018-03-05 18:20:23 +01:00
Adam Sawicki
aed6315b86 README.md minor update. 2018-03-05 12:41:37 +01:00
Adam Sawicki
9d17bc513b
Merge pull request #21 from shoikeda/vma-null-undeclared-identifier
Fix undeclared identifier for Apple.
2018-03-05 10:51:52 +01:00
Sho Ikeda
3ee49f1843 Fix undeclared identifier for Apple. 2018-03-04 15:43:38 +09:00
Adam Sawicki
65231e3975 Minor fix in documentation. 2018-03-02 13:17:01 +01:00
Adam Sawicki
0c11b12574 More documentation. Especially added new section "Finding out if memory is mappable". 2018-03-02 13:05:39 +01:00
Adam Sawicki
a3e019d476 Written new contents of "Mapping memory" documentation chapter. 2018-03-01 12:19:37 +01:00
Adam Sawicki
f44305429c Fix for aligned_alloc for Apple MolenVK. Thanks @rextimmy ! 2018-02-28 11:24:46 +01:00
Adam Sawicki
94fa0a8e4d Normalized end of line characters after editing on Apple. 2018-02-27 11:23:51 +01:00
Adam Sawicki
1240398638
Merge pull request #19 from rextimmy/apple
Apple support
2018-02-27 11:22:31 +01:00
Tim
01d1d71aef Apple support 2018-02-27 18:53:50 +10:00
Adam Sawicki
c793ba342f Minor update in documentation. 2018-02-22 18:23:29 +01:00
Adam Sawicki
d566e37e22 Improved documentation - added "Custom memory pools" > "Choosing memory type index" 2018-02-19 17:28:35 +01:00
Adam Sawicki
c07e59acb8 Fixed 2 bugs in defragmentation.
1st was when defragmenting mapped allocations.
2nd was a nasty one, when defragmentation moved allocation earlier in the same block.

Also fixed some nullptr -> VMA_NULL, fixed compilation when VMA_HEAVY_ASSERT is enabled.
2018-02-16 17:03:16 +01:00
Adam Sawicki
1299c9ad79 Documentation of enum VmaMemoryUsage: Added DirectX 12 equivalents. 2018-02-13 11:49:59 +01:00
Adam Sawicki
20e500e3d0 Improved documentation of VmaMemoryUsage. 2018-02-12 15:12:32 +01:00
Adam Sawicki
e5ae29a5e4 Minor fix. 2018-02-09 16:59:01 +01:00
Adam Sawicki
a82e18346e Version 2.0.0-alpha.7. Removed VmaAllocatorCreateInfo::preferredSmallHeapBlockSize. VmaBlockVector::Allocate: New algorithm that allocates 1/8, 1/4, 1/2 of preferred block size as first blocks, to save memory. 2018-02-09 16:52:05 +01:00
Adam Sawicki
6ee1560d4d Fixed typo. 2018-02-08 14:33:40 +01:00
Adam Sawicki
0186953b59 Used VK_NO_PROTOTYPES when defining default value for VMA_STATIC_VULKAN_FUNCTIONS. 2018-02-08 12:55:29 +01:00
Adam Sawicki
4cefd614dc Fixed VmaBlockVector::MakePoolAllocationsLost (thanks @kennyalive! #18) 2018-01-24 12:43:00 +01:00
Adam Sawicki
defbf3d975 Minor fix in documentation. 2018-01-23 13:58:07 +01:00
Adam Sawicki
4426bfbc19 Updated year to 2018. 2018-01-22 18:18:24 +01:00
Adam Sawicki
54ef95b610 Minor fix after last commit. 2018-01-22 12:45:13 +01:00
Adam Sawicki
213f2bc6a2
Merge pull request #17 from cdwfs/master
Fixed some avoidable warnings when building with -Wall
2018-01-22 12:43:35 +01:00
Cort Stratton
1311787760 Fixed some avoidable warnings when building with -Wall 2018-01-19 13:14:19 -08:00
Adam Sawicki
95f07262a8 VmaAllocator_T::CalcPreferredBlockSize: Minor improvement - treating HOST_CACHED memory type as small heap. 2018-01-19 16:09:04 +01:00
Adam Sawicki
a0b2b80d2d Travis CI configuration: Updated path to Vulkan SDK download. 2017-12-18 16:01:56 +01:00
Adam Sawicki
f65a435483 Fix in documentation. 2017-12-06 13:39:59 +01:00
Adam Sawicki
ca0ccecf67 vmaCreateBuffer: Added some asserts. 2017-12-04 13:33:01 +01:00
Adam Sawicki
594a56260f Added VmaAllocationCreateInfo::memoryTypeBits. Wrote more documentation, including new page "Choosing memory type". 2017-11-21 15:01:29 +01:00
Adam Sawicki
b8ad8a09a1 VmaAllocator_T::ImportVulkanFunctions: Added automatic acquire of vkGetBufferMemoryRequirements2KHR, vkGetImageMemoryRequirements2KHR when using VMA_ALLOCATOR_CREATE_KHR_DEDICATED_ALLOCATION_BIT. 2017-11-21 13:13:32 +01:00
Adam Sawicki
50cc36fbfc Improved documentation of VmaAllocatorCreateInfo::pHeapSizeLimit. 2017-11-21 12:38:55 +01:00
Adam Sawicki
495cb16fa3 Fixed bug in case vkBindImageMemory/vkBindBufferMemory fails. 2017-11-20 16:22:09 +01:00
Adam Sawicki
5bc033f19d Fixed reporting UserData in JSON dump for dedicated allocations. 2017-11-20 14:09:49 +01:00