Commit Graph

963 Commits

Author SHA1 Message Date
Adam Sawicki
e1812303d6 More coding and more tests. Basic functionality is working now. 2021-10-28 14:46:45 +02:00
Adam Sawicki
dc644281ac Essential refactoring that made the test not crashing. 2021-10-28 14:36:59 +02:00
Adam Sawicki
54b7eccc35 More implementation and first tests.
Crashing for now - need more refactoring.
2021-10-28 14:32:34 +02:00
Adam Sawicki
7acc6c0ca8 Defined interface for virtual allocator:
VmaVirtualBlockCreateFlagBits, VmaVirtualBlockCreateFlags, VmaVirtualBlockCreateInfo, VmaVirtualAllocationCreateInfo, VmaVirtualBlock, all necessary functions.
Implementation: added VmaVirtualBlock_T. Not working for now.
2021-10-28 13:51:12 +02:00
Adam Sawicki
642bbfd793 Fixed TestInvalidAllocations 2021-10-27 16:45:19 +02:00
Adam Sawicki
3216bf6dc7 Necessary refactoring to prepare for virtual allocator 2021-10-27 16:45:08 +02:00
Adam Sawicki
e821342782 Fixing logic of VmaDefragmentationAlgorithm_Fast::PostprocessMetadata broken by #201
Closes #202
2021-10-21 13:37:10 +02:00
Adam Sawicki
2b9ee46c40
Merge pull request #201 from GermanAizek/patch
Code refactor (lower scope, local var, default constructor and destructor)
2021-10-19 17:13:53 +02:00
semenov_gv
666b38f11f Code refactor (lower scope, local var, default constructor and destructor) 2021-10-18 18:36:13 +03:00
Adam Sawicki
d2f0313d20 Fixes in comments
Regenerated documentation.
2021-10-18 17:32:40 +02:00
Adam Sawicki
895b080a3c Merge branch 'master' of https://github.com/GPUOpen-LibrariesAndSDKs/VulkanMemoryAllocator 2021-10-06 14:59:27 +02:00
Sawicki, Adam
63e256bc9f Merge branch 'master' into 'master'
Doxygen fixes

See merge request gpuopen/GPUOpen-LibrariesAndSDKs/vulkanmemoryallocator!2
2021-10-06 12:52:20 +00:00
Lukasz Izdebski
0796855a52 doxygen directory fix 2021-10-06 14:30:47 +02:00
Lukasz Izdebski
b61b9ad443 doxygen generation fix 2021-10-06 14:08:24 +02:00
Sawicki, Adam
9ea407e6ad Merge branch 'master' into 'master'
Doxygen added to CMake, shader project dependency added to Sample Project

See merge request gpuopen/GPUOpen-LibrariesAndSDKs/vulkanmemoryallocator!1
2021-10-06 11:41:57 +00:00
Lukasz Izdebski
cf6b1a9270 Doxygen added to CMake, shader project dependency added to Sample Project 2021-10-06 13:30:04 +02:00
Adam Sawicki
ed45770c0f
Merge pull request #198 from danielkrupinski/master
Replace tabs with spaces
2021-09-30 14:36:57 +02:00
Daniel Krupiński
39106c64bb Replace tabs with spaces 2021-09-30 14:34:47 +02:00
Adam Sawicki
6bdc8e1bf8
Merge pull request #197 from danielkrupinski/master
Use forwarding references with std::forward()
2021-09-30 12:07:04 +02:00
Adam Sawicki
1b0bd18053 Standardized line endings to LF
See also #195
2021-09-30 12:03:35 +02:00
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