Commit Graph

1143 Commits

Author SHA1 Message Date
Adam Sawicki
b03df2880c
Merge pull request #195 from akien-mga/cleanup-whitespace
Remove trailing whitespace
2021-09-30 11:52:40 +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
Adam Sawicki
beb26af01c
Merge pull request #194 from danielkrupinski/master
Adjust VMA_MIN() and VMA_MAX() macros to work despite NOMINMAX being defined or not.
2021-09-21 17:48:48 +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
d619fb14a8 Merge branch 'master' of https://github.com/GPUOpen-LibrariesAndSDKs/VulkanMemoryAllocator 2021-09-20 20:33:49 +02:00
Adam Sawicki
565f18b298
Merge pull request #193 from corporateshark/master
Fixed issue #192 with hardcoded VK_USE_PLATFORM_WIN32_KHR
2021-09-20 20:33:41 +02:00
Adam Sawicki
a9922340be Little improvement in README 2021-09-20 20:32:54 +02:00
Sergey Kosarevsky
73f3aed74d Fixed issue #192 with hardcoded VK_USE_PLATFORM_WIN32_KHR 2021-09-20 15:11:21 +03: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
Adam Sawicki
613b354199
Merge pull request #187 from phil-el/master
Do not fail travis build if the build directory already exists.
2021-07-26 11:02:36 +02:00
phil-el
f650922bea Do not fail travis build if the build directory already exists. 2021-07-25 13:46:22 +02:00
Adam Sawicki
b90d64290e
Merge pull request #186 from HindrikStegenga/master
Add include_directories to CMake to include the header files.
2021-07-23 12:04:11 +02:00
Hindrik Stegenga
43ff2ef658
Add include_directories to CMake to include the header files. 2021-07-23 11:53:11 +02:00
Adam Sawicki
272ce716c1
Merge pull request #185 from HindrikStegenga/master
Disable aligned_alloc on macOS 11.0+ and revert behaviour.
2021-07-22 16:20:41 +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
f98d1b3f8d Fix to online documentation 2021-06-18 17:12:22 +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
49d9f99467 Fixing Linux build on TravisCI (1) 2021-06-09 17:53:37 +02:00
Adam Sawicki
f523d39667 Fix .gitignore to include binaries at new locations 2021-06-09 17:20:26 +02:00
Adam Sawicki
cab4eb545c Delete shader files 2021-06-09 17:14:12 +02:00
Adam Sawicki
d4230c2a91 Delete binaries from old path 2021-06-09 17:13:51 +02:00
Adam Sawicki
01521a7087 Deleted Premake 2021-06-09 17:04:06 +02:00
Adam Sawicki
351cabafda Regenerated documentation 2021-06-09 17:03:10 +02:00
Adam Sawicki
2f4bc1bb20
Merge pull request #171 from IAmNotHanni/master
Add CMake support
2021-06-09 16:48:06 +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
d900294c1a Fixed link to include/vk_mem_alloc.h in README.md and Doxyfile
Updated Doxyfile to Doxygen 1.9.1

Closes #165
2021-06-09 16:39:21 +02:00
Adam Sawicki
e30b3ab39c Moving Doxyfile to main directory 2021-06-09 16:30:59 +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
Johannes Schneider
5c52b85904
Update README 2021-06-02 23:19:00 +02:00
Johannes Schneider
f8daef898c
Add VMA_STATIC_VULKAN_FUNCTIONS and set VMA_DYNAMIC_VULKAN_FUNCTIONS to ON by default 2021-06-02 23:18:59 +02:00
Johannes Schneider
c9777daabb
Remove macros which can be configured through CMake from VmaUsage.h 2021-06-02 23:18:54 +02:00
Johannes Schneider
948be70048
Enable compiling with multiple processes for VmaReplay 2021-06-02 12:18:42 +02:00