Commit Graph

906 Commits

Author SHA1 Message Date
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
Johannes Schneider
12d8344ed0
Add documentation of CMake options to README 2021-06-02 00:36:18 +02:00
Johannes Schneider
6d3ef233ab
Correct README 2021-06-02 00:36:10 +02:00
Johannes Schneider
191c64c8ee
Link VulkanMemoryAllocator to Vulkan only if static linking is enabled 2021-06-02 00:23:57 +02:00
Johannes Schneider
8111c12b36
Expose important VMA settings macros as CMake options 2021-06-02 00:22:18 +02:00
Johannes Schneider
e65c1469d9
Improve consistency in naming of targets and options 2021-05-31 23:53:21 +02:00
Johannes Schneider
696ecd674d
Replace add_definitions with add_compile_definitions 2021-05-31 23:53:21 +02:00
Johannes Schneider
a3078999ea
Move add_subdirectory for shaders and VmaReplay to the end of the file 2021-05-31 23:53:21 +02:00
Johannes Schneider
61a2844a4f
Only set VMA_EXAMPLE_SOURCE_FILES when building sample app 2021-05-31 23:53:20 +02:00
Johannes Schneider
1a25921427
Make target_include_directories a one line instruction 2021-05-31 23:53:20 +02:00
Johannes Schneider
7dc310ad85
Remove CMAKE_DISABLE_IN_SOURCE_BUILD 2021-05-31 23:53:20 +02:00
Johannes Schneider
08b190ff7e
Rename VmaShaders to VmaBuildExampleShaders 2021-05-31 23:53:19 +02:00
Johannes Schneider
853f713db1
Remove source_group instructions 2021-05-31 23:53:19 +02:00
Johannes Schneider
dadd8f635a
Show default values for CMake options in README's table 2021-05-31 23:53:19 +02:00
Johannes Schneider
8f14179a72
Replace Ninja with Make as default build instruction on Linux 2021-05-31 23:52:06 +02: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
Johannes Schneider
8f62aa27c2
Rename replay app target and shaders target 2021-05-28 20:03:27 +02:00
Johannes Schneider
a7f6b7e1f1
Fix VmaReplay build 2021-05-28 20:03:26 +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
acba487a76
Add CMake build instructions 2021-05-28 12:57:01 +02:00
Johannes Schneider
3f2238ac9d
Fix VMA_BUILD_EXAMPLE_APP_SHADERS being ignored on Linux 2021-05-28 12:45:58 +02:00
Johannes Schneider
6b733a5ba2
Fix missing Vulkan dependency of VmaExample 2021-05-28 11:56:59 +02:00
Adam Sawicki
b302c0d708
Merge pull request #172 from IAmNotHanni/remove_moltenvk_issue_175_reference
Remove reference to MoltenVK issue 175 which is fixed now
2021-05-28 10:45:34 +02:00
Johannes Schneider
d475fbb999
Do not set CMAKE_RUNTIME_OUTPUT_DIRECTORY 2021-05-28 02:12:29 +02:00
Johannes Schneider
e32721df9e
Make building shaders, VMA example application and VMA replay app optional 2021-05-28 02:04:15 +02:00
Johannes Schneider
00069968e7
Remove reference to MoltenVK issue 175 which is fixed now 2021-05-28 01:21:39 +02:00
Johannes
69747a2bdb
Add CMake support 2021-05-27 22:10:12 +02:00
Adam Sawicki
cc47fcf867
Merge pull request #167 from devnexen/clang_build_warning_fixes
clang build warning fixes proposal
2021-05-18 12:21:34 +02:00
David Carlier
1b15bc0f1d clang build warning fixes proposal 2021-05-17 17:34:35 +01:00
Adam Sawicki
6889faaaa2
Merge pull request #166 from krOoze/patch-1
Docs typo
2021-05-06 10:08:26 +02: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
Adam Sawicki
d1851f0ded Rebuilt binaries, regenerated documentation 2021-03-11 15:16:30 +01:00
Adam Sawicki
a75a61bfd7 Added parsing of command line parameters and GPU selection
Command line syntax:
-h, --Help   Print this information
-l, --List   Print list of GPUs
-g S, --GPU S   Select GPU with name containing S
-i N, --GPUIndex N   Select GPU index N

Also improved error handling.
2021-03-11 15:15:38 +01:00
Adam Sawicki
48e3d88114 Improved macros TEST, ERR_GUARD_VULKAN 2021-03-11 14:31:00 +01:00
Adam Sawicki
4b047fde54 Optimization: custom pools are on an intrusive double linked list not sorted vector
Added struct VmaPoolListItemTraits.
2021-03-03 16:55:04 +01:00
Adam Sawicki
7b9f7b61a1 Fix for compilation on Linux 2021-03-03 15:36:18 +01:00