Commit Graph

5 Commits

Author SHA1 Message Date
Adam Sawicki
f3af1d9a30 Finished major refactoring of the statistics and budget API. COMPATIBILITY BREAKING!
See structures: Statistics, DetailedStatistics, TotalStatistics, Budget.
Functions: Allocator::GetMemoryCapacity, GetBudget, CalculateStatistics,
Pool::GetStatistics, CalculateStatistics,
VirtualAllocation::GetStatistics, CalculateStatistics.

Updated and rebuilt the docs.
2022-02-24 16:02:04 +01:00
Adam Sawicki
3a3b44555a Added possibility to choose different allocation algorithm in custom pools and virtual blocks.
Changed behavior of VirtualBlock::Allocate, FreeAllocation: VirtualAllocation::AllocHandle = 0 (not UINT64_MAX) now means null allocation.
Ported linear allocation algorithm from VMA.
Renamed VIRTUAL_ALLOCATION_INFO members to uppercase Offset, Size.
Fixed D3D12MA_DEBUG_MARGIN not to be applied to virtual allocator.
Added test for D3D12MA_DEBUG_MARGIN (ported from VMA).
Code mostly by @medranSolus
Updated and rebuilt documentation.
2022-02-04 13:22:45 +01:00
Adam Sawicki
30b84395a1 Fixes to Cmake
Regenerated HTML documentation
2021-10-06 14:35:03 +02:00
Adam Sawicki
c1001f79ea Updated and rebuilt documentation
Also rebuilt the library.
See #7
2021-07-26 21:29:05 +02:00
Adam Sawicki
77768b0cd3 Pushing Doxygen-generated HTML documentation to be browsable online 2021-06-18 16:33:04 +02:00