Commit Graph

238 Commits

Author SHA1 Message Date
Adam Sawicki
3a53ed061b Updated Doxyfile for Doxygen 1.9.6
Regenerated documentation.
2023-05-02 12:52:24 +02:00
Adam Sawicki
4d16e802e0 GpuMemDumpVis.py: Fixed division by zero error when only custom pools are used 2023-02-24 10:21:21 +01:00
Adam Sawicki
f128d39b7a
Merge pull request #48 from fecf/master
Fixed AllocatorPimpl::m_Device10 not being released
2023-01-09 10:47:04 +01:00
fecf
132559d399 Fixed AllocatorPimpl::m_Device10 not being released 2023-01-09 03:32:39 +09:00
Adam Sawicki
aae28a6fc9 Fixed Allocation::WasZeroInitialized 2022-12-29 14:43:21 +01:00
Adam Sawicki
9f7b03d244 Fixed behavior when ALLOCATOR_FLAG_DEFAULT_POOLS_NOT_ZEROED is used and ALLOCATION_DESC::ExtraHeapFlags contains D3D12_HEAP_FLAG_CREATE_NOT_ZEROED
It will use default pools now.
See #47
Also regenerated documentation.
2022-12-29 14:21:46 +01:00
Adam Sawicki
d46d5fbd5c Refactored CREATE_RESOURCE_PARAMS structure to be safer 2022-12-16 16:35:11 +01:00
Adam Sawicki
be5026f17b Fixed indentation 2022-12-16 15:53:25 +01:00
Adam Sawicki
bffe412f36 Fixed Doxyfile after merge 2022-12-16 14:32:25 +01:00
Adam Sawicki
5b0874e95a Refactoring after merge - fixed spaces instead of tabs 2022-12-16 14:28:42 +01:00
Adam Sawicki
1c6ebc8373
Merge pull request #44 from RuslanKutdusov/master
CreateCommittedResource3 and CreatePlacedResource2 support
2022-12-16 14:22:44 +01:00
Adam Sawicki
fbbfa4b14d Renamed the new member to POOL_DESC::ResidencyPriority 2022-12-15 16:32:24 +01:00
Adam Sawicki
396d871e4d Bumped version number because of the addition to the API 2022-12-15 16:24:05 +01:00
Adam Sawicki
ad4dbc18fd Added POOL_DESC::Priority 2022-12-15 16:23:26 +01:00
Adam Sawicki
48c7f78f45 Fixed JSON StatsString printed from VirtualBlock
Fix in VirtualBlock::BuildStatsString.
2022-11-23 17:02:55 +01:00
Adam Sawicki
7597f717c7 Fixed a bug in the documentation
Regenerated HTML documentation using new Doxygen 1.9.5.
2022-10-26 15:17:25 +02:00
Adam Sawicki
36437712c7 Fixed a comment 2022-10-19 14:57:36 +02:00
Adam Sawicki
50ef8f39a4 Added macro D3D12MA_DEBUG_LOG (empty by default), virtual function BlockMetadata::DebugLogAllAllocations 2022-10-19 14:55:09 +02:00
Adam Sawicki
9da647a833 Updated README with a link to Vcpkg 2022-08-29 14:28:12 +02:00
ruslan_kutdusov
c2c78fe042 add support of ID3D12Device10::CreateCommittedResource3, ID3D12Device8::CreatePlacedResource2 and perhaps all possible future versions of them 2022-07-28 19:48:29 +03:00
Adam Sawicki
f0458801c4
Merge pull request #43 from PixelCatalyst/fix_atomic_initialization
Use list initialization for atomics
2022-07-18 12:13:15 +02:00
Marcin Kienast
3b129882ef Use list initialization for atomics 2022-07-15 17:50:59 +02:00
Adam Sawicki
434fd4eba4 Minor fixes. Updated to Doxygen 1.9.4. 2022-06-14 15:22:23 +02:00
Adam Sawicki
4d0aa40810 Updated version number 2022-06-14 13:43:51 +02:00
Adam Sawicki
eace86c429 Fixed ambiguity in calls to JsonWriter::WriteNumber for size_t parameter to fix compilation on UWP
See #42
2022-06-14 13:43:22 +02:00
Adam Sawicki
4c5e910c9f
Merge pull request #41 from GermanAizek/refactor
Fixed minor bugs
2022-05-20 17:08:14 +02:00
germanaizek
52b71ca7b6 Fixed minor bugs 2022-05-20 17:59:07 +03:00
Adam Sawicki
117ff9efa8 Some refactoring after merging #40 2022-04-25 13:42:59 +02:00
Adam Sawicki
b0316c9ab1
Merge pull request #40 from kingofthebongo2008/fix-for-memory-zeroed-flag
Add Runtime support check for D3D12_HEAP_FLAG_CREATE_NOT_ZEROED
2022-04-25 13:35:09 +02:00
stefan
1832eacd49 Add Runtime support check for D3D12_HEAP_FLAG_CREATE_NOT_ZEROED 2022-04-24 11:48:34 +03:00
Adam Sawicki
d6ff05eb2a Updated documentation regarding thread safety of defragmentation 2022-04-19 16:42:07 +02:00
Adam Sawicki
6a61103936 Releasing version 2.0.1 2022-04-05 14:35:35 +02:00
Adam Sawicki
f399a78cfe Merge branch 'master' of https://github.com/GPUOpen-LibrariesAndSDKs/D3D12MemoryAllocator 2022-04-05 13:35:48 +02:00
Adam Sawicki
19322e3194 Fixes in JSON dump format. Fixes in GpuMemDumpVis.py regarding image height calculation.
Added GpuMemDump.schema.json.
2022-04-05 13:34:45 +02:00
Adam Sawicki
a07cc582eb
Merge pull request #37 from rbertin-aso/master
Fix tool y offset for custom pool blocks
2022-03-31 15:09:19 +02:00
rbertin-aso
ac6a7bd850 Fix tool y offset for custom pool blocks 2022-03-31 14:50:25 +02:00
Adam Sawicki
2d7d710944 Added missing changes 2022-03-30 13:23:01 +02:00
Adam Sawicki
3365a2d0e1 Added documentation section "Resource reference counting" 2022-03-30 13:22:03 +02:00
Adam Sawicki
ce48386e5c Added test for JSON dump with custom pools and their names 2022-03-29 15:09:17 +02:00
Adam Sawicki
4ebe099c47
Merge pull request #36 from rbertin-aso/master
Fix export of custom pool names
2022-03-29 15:07:55 +02:00
rbertin-aso
a5b20c022e Fix export of custom pool names 2022-03-28 16:46:10 +02:00
Adam Sawicki
17f992a0ad Updated version number and CHANGELOG.md
Regenerated documentation and executable.
2022-03-25 11:33:00 +01:00
Adam Sawicki
3b3c62e923 Merge branch 'master' of http://isvgit.amd.com/gpuopen/GPUOpen-LibrariesAndSDKs/d3d12memoryallocator 2022-03-24 17:45:53 +01:00
Adam Sawicki
70843b28f8 Fix in TestStats for UMA platforms 2022-03-24 17:45:04 +01:00
Adam Sawicki
36ce392aee Added ALLOCATOR_FLAG_MSAA_TEXTURES_ALWAYS_COMMITTED, POOL_FLAG_MSAA_TEXTURES_ALWAYS_COMMITTED
Code by @medranSolus
2022-03-24 15:54:47 +01:00
Adam Sawicki
62b61790de Fixes in BlockMetadata_Linear::Validate 2022-03-24 15:19:09 +01:00
Adam Sawicki
10bff5ec74 Fix for case when a large allocation is made with ALLOCATION_FLAG_CAN_ALIAS
Code by @medranSolus
2022-03-24 13:58:50 +01:00
Adam Sawicki
98218850d6 New JSON dump format
Unified across VMA and D3D12MA.
Updated Python script for visualization - now called GpuMemDumpVis.py.

Code by @medranSolus
2022-03-24 12:14:27 +01:00
Adam Sawicki
583aee7676 Fixed bug in BlockMetadata_TLSF::WriteAllocationInfoToJson
Fixes #35, thanks @Rob1B !
2022-03-23 14:46:59 +01:00
Adam Sawicki
4eee6838b7 Updated README 2022-03-18 12:40:57 +01:00