Adam Sawicki
|
f305aebdfd
|
Fixed version number in source file.
|
2018-09-10 14:07:32 +02:00 |
|
Adam Sawicki
|
e929bab5d8
|
Prepared version 2.1.0 final. Rebuilt binaries. Updated CHANGELOG.md. Rebuilt Doxygen dovcumentation (with new Doxygen version).
|
2018-09-10 11:14:05 +02:00 |
|
Adam Sawicki
|
f7baf623d0
|
Minor updates in documentation. Added VK9 to list of known usages. Issue #39 thanks @disks86 !
|
2018-09-10 11:09:03 +02:00 |
|
Adam Sawicki
|
6689924517
|
Further fixes for compilation on Windows. Defined NOMINMAX for Windows.h. Issue #38
|
2018-09-07 12:40:31 +02:00 |
|
Adam Sawicki
|
447e36fe9a
|
Fixed missing #include <Windows.h> for cases when it's needed but macro VK_USE_PLATFORM_WIN32_KHR is not defined. Issue #38 thanks @farnoy !
|
2018-09-06 11:38:37 +02:00 |
|
Adam Sawicki
|
abf747a79f
|
Removed hack for clang compiler error. It didn't work anyway.
|
2018-09-03 11:48:40 +02:00 |
|
Adam Sawicki
|
655b87fd87
|
Small addition to documentation.
|
2018-08-28 14:32:15 +02:00 |
|
Adam Sawicki
|
c4227e5acf
|
Fixes warning: field 'm_Blocks' will be initialized after field 'm_HasEmptyBlock' [-Wreorder] #37 Thanks @TheLavaBlock !
|
2018-08-28 13:12:14 +02:00 |
|
Adam Sawicki
|
c7d1b584b7
|
Fixes for compilation under Linux gcc and clang. #2
|
2018-08-27 12:30:53 +02:00 |
|
Adam Sawicki
|
6277abb3c4
|
Fixes for compilation under Linux gcc and clang.
|
2018-08-27 12:21:35 +02:00 |
|
Adam Sawicki
|
2b3e416cdf
|
Merge branch 'development'
|
2018-08-27 12:14:28 +02:00 |
|
Adam Sawicki
|
2cf37c8c57
|
Minor fixes in CHANGELOG.md.
|
2018-08-27 12:13:56 +02:00 |
|
Adam Sawicki
|
eaab97ca85
|
Rebuilt binaries again.
|
2018-08-27 12:09:29 +02:00 |
|
Adam Sawicki
|
c5b223fe4b
|
VmaAllocator_T::FreeMemory: Fixed synchronization bug for cases when an allocation becomes lost at the same time as it is being freed.
|
2018-08-27 11:53:02 +02:00 |
|
Adam Sawicki
|
a5d5ffafe2
|
Updated CHANGELOG.md. Recompiled binaries and Doxygen documentation.
|
2018-08-27 11:05:24 +02:00 |
|
Adam Sawicki
|
751f1460d5
|
Updated date next to version number.
|
2018-08-27 11:03:21 +02:00 |
|
Adam Sawicki
|
7ec3930906
|
Documentation "Introduction" - added paragraph about macros define before including headers. Issue #36 Thanks @chaoticbob !
|
2018-08-27 11:00:06 +02:00 |
|
Adam Sawicki
|
53e9239797
|
Merge commit '70a683e53fcc3a8733a0876617f212e0a66ae7c7' into development
|
2018-08-27 10:47:44 +02:00 |
|
Adam Sawicki
|
70a683e53f
|
Added support for multiple Vulkan memory blocks in custom pools with VMA_POOL_CREATE_LINEAR_ALGORITHM_BIT. Works with free-at-once and stack, doesn't work with double stack or ring buffer.
Added new structure members VmaPoolStats::blockCount.
|
2018-08-24 15:36:32 +02:00 |
|
Adam Sawicki
|
6897d827c7
|
Documented recent change in CHANGELOG.md.
|
2018-08-24 14:21:53 +02:00 |
|
Adam Sawicki
|
ee79c63d61
|
VmaDumpVis.py: Fixed wrong visualization of custom pools that have multiple blocks.
|
2018-08-24 14:15:06 +02:00 |
|
Adam Sawicki
|
90eb51c225
|
Changed behavior of custom pools: VmaPoolCreateInfo::blockSize 0 (default) now means that pool may use variable block sizes, just like default pools do.
|
2018-08-24 13:43:52 +02:00 |
|
Adam Sawicki
|
f9b6868cf1
|
Described version 2.1.0-beta.1 in CHANGELOG.md.
Minor fixes in documentation.
|
2018-08-24 12:13:37 +02:00 |
|
Adam Sawicki
|
4c6e9e81bc
|
Linear allocation algorithm is finished! Recompiled binaries, regenerated Doxygen documentation. Announcing version 2.1.0-beta.1.
|
2018-08-24 11:23:37 +02:00 |
|
Adam Sawicki
|
0a60713b07
|
Added benchmark for linear allocator.
|
2018-08-24 11:18:41 +02:00 |
|
Adam Sawicki
|
dedab850e9
|
Documented linear allocation algorithm. Added "Linear allocation algorithm" documentation chapter.
|
2018-08-23 15:00:58 +02:00 |
|
Adam Sawicki
|
cba11e8bfb
|
Deleted temporary code.
|
2018-08-23 13:21:15 +02:00 |
|
Adam Sawicki
|
477b22ebf1
|
Added 'LinearAlgorithm' member to JSON dump format and its usage in VmaDumpVis.py.
|
2018-08-23 13:20:22 +02:00 |
|
Adam Sawicki
|
35e9aca80f
|
Minor refactoring.
|
2018-08-23 13:05:05 +02:00 |
|
Adam Sawicki
|
d0100e9d1a
|
Ensured that allocations from pools with linear algorithm are ignored in vmaDefragment.
Made vmaDefragment work only with memory types that are HOST_VISIBLE and HOST_COHERENT.
|
2018-08-23 12:56:58 +02:00 |
|
Adam Sawicki
|
0270b98d2f
|
Optimized VmaBlockMetadata_Linear::FreeAtOffset to use binary search.
Refactored VmaBinaryFindFirstNotLess.
|
2018-08-23 12:18:01 +02:00 |
|
Adam Sawicki
|
bc7fea61d2
|
Implemented VmaBlockMetadata_Linear::CheckCorruption.
|
2018-08-23 11:45:20 +02:00 |
|
Adam Sawicki
|
53d96e8c93
|
Minor addition to VmaBlockMetadata_Linear::Validate.
|
2018-08-23 11:37:56 +02:00 |
|
Adam Sawicki
|
2bd99038d5
|
Implemented VmaBlockMetadata_Linear::GetUnusedRangeSizeMax.
|
2018-08-23 11:36:32 +02:00 |
|
Adam Sawicki
|
51b0e82e60
|
Implemented VmaBlockMetadata_Linear::GetSumFreeSize.
|
2018-08-23 11:20:09 +02:00 |
|
Adam Sawicki
|
1f6c388348
|
Optimized VmaBlockVector::Allocate for certain cases.
|
2018-08-23 10:52:07 +02:00 |
|
Adam Sawicki
|
0dec444a58
|
Minor fixes.
|
2018-08-23 10:43:54 +02:00 |
|
Adam Sawicki
|
f799c4f146
|
Introduced a rule that custom pool with linear algorithm must have maxBlockCount = 1 (or 0 for default).
|
2018-08-23 10:40:30 +02:00 |
|
Adam Sawicki
|
0ebdf0c63e
|
Implemented vmaMakePoolAllocationsLost for pools with linear allocator.
|
2018-08-22 17:02:44 +02:00 |
|
Adam Sawicki
|
8cfe05fad9
|
Added support for lost allocations in ring buffer.
Fixed some more bugs.
|
2018-08-22 16:48:17 +02:00 |
|
Adam Sawicki
|
fd11d759dd
|
Added ManuallyTestLinearAllocator which allows me to manually inspect VmaStats, VmaPoolStats and stats string of custom pool. Fixed bug in VmaBlockMetadata_Linear::PrintDetailedMap.
|
2018-08-22 15:02:10 +02:00 |
|
Adam Sawicki
|
680b2251fa
|
Implemented double stack. Written tests for it.
|
2018-08-22 14:47:32 +02:00 |
|
Adam Sawicki
|
45cee6ee4f
|
Some code in preparation to implement double stack (SECOND_VECTOR_DOUBLE_STACK).
|
2018-08-22 13:21:08 +02:00 |
|
Adam Sawicki
|
0c6ca87695
|
Merge branch 'development' into linear_allocator
|
2018-08-22 11:58:16 +02:00 |
|
Adam Sawicki
|
62c0090112
|
Recompiled binaries. Bumped version number to Version 2.1.0-alpha.4.
|
2018-08-22 11:54:36 +02:00 |
|
Adam Sawicki
|
83e5ea42f7
|
VmaReplay: Added usage of VMA_ALLOCATOR_CREATE_EXTERNALLY_SYNCHRONIZED_BIT, as the app is currently single-threaded only anyway.
|
2018-08-22 11:46:26 +02:00 |
|
Adam Sawicki
|
3b96fb8130
|
VmaReplay: Added comparison of memory heaps and types and appropriate warnings.
Fixed major bug in SecondsToFriendlyStr.
|
2018-08-22 11:44:44 +02:00 |
|
Adam Sawicki
|
cb4e8da23b
|
Updated file format to 1,3. Added configuration section.
|
2018-08-21 17:56:25 +02:00 |
|
Adam Sawicki
|
ac3c67fd5d
|
Added parameters: --DumpStatsAfterLine, --DumpDetailedStatsAfterLine, to dump VMA stats to JSON file.
Set --MemStats default to 0.
|
2018-08-21 16:18:42 +02:00 |
|
Adam Sawicki
|
a2d6395ec4
|
VmaReplay: Added parameter --MemStats and memory statistics.
|
2018-08-21 15:05:21 +02:00 |
|