Commit Graph

283 Commits

Author SHA1 Message Date
Adam Sawicki
6bdc8e1bf8
Merge pull request #197 from danielkrupinski/master
Use forwarding references with std::forward()
2021-09-30 12:07:04 +02:00
Daniel Krupiński
c725ffd106 Use forwarding references with std::forward() 2021-09-29 14:37:30 +02:00
Rémi Verschelde
8e18c034c4
Remove trailing whitespace 2021-09-22 12:34:44 +02:00
Daniel Krupiński
2b87d57ffd Adjust VMA_MIN() and VMA_MAX() macros to work despite NOMINMAX being defined or not. 2021-09-20 20:57:17 +02:00
Adam Sawicki
92e5f2eb8f Change all usage of VK_ERROR_VALIDATION_FAILED_EXT to VK_ERROR_UNKNOWN or VK_ERROR_INITIALIZATION_FAILED
Compatibility breaking! Changes documentation of vmaCheckCorruption, vmaCheckPoolCorruption.
This is due to VK_ERROR_VALIDATION_FAILED_EXT coming from an extension and might not be available.
Fixes #190
2021-08-09 12:44:29 +02:00
Adam Sawicki
b0fce340b6 Fixes and improvements in documentation 2021-07-29 13:12:59 +02:00
Adam Sawicki
9ca6ecd2ae Include block IDs in debug log messages
Closes #183
2021-07-28 16:09:29 +02:00
Adam Sawicki
5ab5440732 Minor fixes in the docs - language 2021-07-28 15:50:36 +02:00
Adam Sawicki
9f586a20bc Added documentation chapter about OpenGL interop
Rebuilt the docs.
2021-07-28 15:25:52 +02:00
Adam Sawicki
a3d4905b1f Moved main documentation text from the beginning to the end of file
Disabled VERBATIM_HEADERS in Doxyfile. Regenerated the docs.
2021-07-28 14:57:39 +02:00
Adam Sawicki
db163b0d5c Removed unused variable
Also updated and regenerated documentation.
Closes #188
2021-07-28 12:08:22 +02:00
Hindrik Stegenga
0495495a42
Disable broken aligned_alloc on new versions of macOS and revert to old behaviour. 2021-07-21 16:54:47 +02:00
Adam Sawicki
55868965ae Fixed documentation of the new function vmaCreateBufferWithAlignment 2021-07-07 15:34:10 +02:00
Adam Sawicki
f8e37ef2a2 Merge branch 'master' into feature-custom-alignment 2021-07-07 14:55:56 +02:00
Adam Sawicki
e92f989423 Added VmaAllocatorCreateInfo::pTypeExternalMemoryHandleTypes 2021-07-07 14:52:10 +02:00
Adam Sawicki
25e436868c Added function vmaCreateBufferWithAlignment 2021-06-28 16:14:20 +02:00
Adam Sawicki
96ec5ce4e7 Used range-based for loops wherever I could
Closes #161
2021-06-25 17:43:41 +02:00
Adam Sawicki
0790b5f0a9 Regenerated documentation
Used new Doxygen 1.9.1
2021-06-21 14:55:01 +02:00
Adam Sawicki
4c8801ca22 Fixed docs 2021-06-21 14:51:25 +02:00
Adam Sawicki
82731feeb9 Fixes. Left only new member VmaPoolCreateInfo::pMemoryAllocateNext. 2021-06-21 14:47:37 +02:00
Adam Sawicki
d780fe0263 Merge branch 'master' into PoolCustomPnext
# Conflicts:
#	include/vk_mem_alloc.h
2021-06-21 14:08:45 +02:00
Adam Sawicki
11dce16f00 Added VmaPoolCreateInfo::minAllocationAlignment 2021-06-18 15:25:57 +02:00
Adam Sawicki
8d4a9e9174 Renamed macro VMA_DEBUG_ALIGNMENT to VMA_MIN_ALIGNMENT as there are valid use cases for it other than debugging purposes. 2021-06-14 17:01:33 +02:00
Adam Sawicki
f7f8e8b472
Merge pull request #177 from pkasting/master
Fix clang -Wdeprecated-copy.
2021-06-09 16:42:39 +02:00
Adam Sawicki
248843e456 Added VmaVector::shrink_to_fit instead of freeMemory parameter in resize, clear, to fix compilation with VMA_USE_STL_CONTAINERS
Closes #175, closes #176
2021-06-09 16:23:30 +02:00
Peter Kasting
a850ffbe46 Fix clang -Wdeprecated-copy.
The copy constructor must be explicitly defined (here, defaulted) to be
available when the assignment operator is deleted.  While there is a
templated constructor from VmaStlAlloc<U>, the compiler doesn't consider
this to be a "copy" constructor for purposes of the warning.
2021-06-08 13:47:31 -07:00
Adam Sawicki
4a132e510c
Merge pull request #173 from IAmNotHanni/documentation_fixes
Minor typo fixes in code comments
2021-05-31 10:18:04 +02:00
Adam Sawicki
53ac25ef77 Fixed link in documentation
Closes #174
2021-05-28 16:20:15 +02:00
Johannes Schneider
31ccbf6728
Minor typo fixes in code comments 2021-05-28 14:11:43 +02:00
Johannes Schneider
00069968e7
Remove reference to MoltenVK issue 175 which is fixed now 2021-05-28 01:21:39 +02:00
David Carlier
1b15bc0f1d clang build warning fixes proposal 2021-05-17 17:34:35 +01:00
Petr Kraus
7a1b637890
Docs typo 2021-05-06 03:50:05 +02:00
Adam Sawicki
59ec0809a7 Moved main file vk_mem_alloc.h to subdirectory include/
WARNING! This can break external code that depends on directory structure of this repository!

Closes #165
2021-04-19 13:46:49 +02:00