Commit Graph

278 Commits

Author SHA1 Message Date
Adam Sawicki
e00c4a7c85 Added Qt Project to the list of known uses 2024-09-03 13:18:01 +02:00
Adam Sawicki
ffe6394e8c
Merge pull request #66 from robUx4/IUknown-override
Eliminate warning in D3D12MA
2024-09-03 13:08:02 +02:00
Laszlo Agocs
f44eefdac6 Eliminate warning in D3D12MA
warning: 'QueryInterface' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]

Patch originally found in Qt:
aec8398d71/src/3rdparty/D3D12MemoryAllocator/patches/0001-Eliminate-warnings-in-D3D12MA.patch

Signed-off-by: Steve Lhomme <robux4@ycbcr.xyz>
2024-09-03 12:56:47 +02:00
Adam Sawicki
2b7c0d4e31
Merge pull request #65 from bmarques1995/master
Added cmake find_package option
2024-06-17 13:47:15 +02:00
Adam Sawicki
5cffefb8cb Updated README with known usage: Ghost of Tsushima
Based on #65 - thanks @bmarques1995
2024-06-17 13:38:11 +02:00
Bruno S Marques
f5dc9ab809 Added cmake find_package option 2024-06-15 01:30:15 -03:00
Adam Sawicki
b6fd617308 Updated README with a link to C bindings - d3d12ma.c
https://github.com/milliewalky/d3d12ma.c
2024-06-12 12:23:43 +02:00
Adam Sawicki
4d815ec416
Merge pull request #64 from blueskythlikesclouds/master
Handle ALLOCATOR_FLAG_SINGLETHREADED flag in AllocationObjectAllocator.
2024-06-03 16:05:52 +02:00
Skyth
b901f4d92e Pass "use mutex" flag to AllocationObjectAllocator. 2024-05-29 17:59:32 +03:00
Adam Sawicki
8991a630c5 Fixed a link in README.md 2024-05-06 16:29:03 +02:00
Adam Sawicki
0a9cbbbdb0 Improvements in documentation (2)
Rebuilt the documentation.
2024-03-05 17:02:00 +01:00
Adam Sawicki
2d83dfe7a4 Improvements in documentation
Rebuilt the documentation.
2024-03-05 16:59:27 +01:00
Adam Sawicki
514c67b84d Removed Allocation::WasZeroInitialized
It wasn't fully implemented anyway.
2024-03-05 16:33:25 +01:00
Adam Sawicki
c29f274ea1 Fix in BlockMetadata_Linear::CreateAllocationRequest for too large allocations
Ported from https://github.com/GPUOpen-LibrariesAndSDKs/VulkanMemoryAllocator/pull/396
2024-03-05 16:23:44 +01:00
Adam Sawicki
5b87b9a028 Updated GpuMemDumpVis
Copied from Vulkan Memory Allocator
2024-03-05 16:05:38 +01:00
Adam Sawicki
1332c2be71 Updated copyright headers to year 2024 2024-03-05 16:03:30 +01:00
Adam Sawicki
47ebce51c9 Fixed and finished merge of GPUUploadHeap support
Added Allocator::IsGPUUploadHeapSupported and macro D3D12MA_OPTIONS16_SUPPORTED.
2024-03-05 15:40:14 +01:00
Adam Sawicki
dc222fe321 Merge branch 'feature-gpu-upload-heaps' 2024-03-05 15:03:36 +01:00
Adam Sawicki
55ad7acfdd Added logic to prefer small buffers as committed to save memory
Added ALLOCATOR_FLAG_DONT_PREFER_SMALL_BUFFERS_COMMITTED.
Added new test, fixed other tests.
Regenerated documentation.
2024-02-12 14:18:30 +01:00
Adam Sawicki
df8fac903a GpuMemDumpVis/README.md: Added warning about aliasing not supported
Thanks @alecazam
2023-11-06 11:01:06 +01:00
Adam Sawicki
1ab8aaec7e Fixed GpuMemDumpVis.py to not use deprecated Pillow function textsize
See https://github.com/GPUOpen-LibrariesAndSDKs/VulkanMemoryAllocator/issues/375 Thanks @alecazam
2023-11-03 13:18:46 +01:00
Adam Sawicki
5cb534cf9b
Merge pull request #60 from bmarques1995/master
Update CMakeLists.txt
2023-10-11 09:52:20 +02:00
Bruno S Marques
8655a87086
Update CMakeLists.txt
moved install syntax to target expected destinations
2023-10-10 12:12:05 -03:00
Adam Sawicki
7491beb381 Stylistic fixes after #59 2023-08-24 14:31:50 +02:00
Adam Sawicki
0e71874452
Merge pull request #59 from nathanvoglsam/fix-directx-header-support
Fix GetResourceAllocationInfo2 and GetResourceAllocationInfo calls to work on non-msvc compilers with DirectX-Headers
2023-08-24 14:29:29 +02:00
Adam Sawicki
3b949bfe92
Merge pull request #57 from Demonese/master
improved cmake: more modern target-based style
2023-08-24 14:22:01 +02:00
Nathan Voglsam
1046582d1d Fix GetResourceAllocationInfo2 and GetResourceAllocationInfo calls to work with DirectX-Headers header files 2023-08-24 22:20:36 +10:00
Adam Sawicki
a89a347536
Merge pull request #58 from Demonese/fix-1
fix potential compile errors if strict mode (/permissive-) is enabled
2023-08-24 09:29:20 +02:00
璀境石
2c7b5e8298 fix potential compile errors if strict mode (/permissive-) is enabled 2023-08-24 11:20:55 +08:00
璀境石
9207a3ea8e improved cmake: more modern target-based style 2023-08-24 10:20:18 +08:00
Adam Sawicki
04cf767f17
Merge pull request #56 from turanszkij/master-1
added Wicked Engine to projects list
2023-08-15 15:47:21 +02:00
Turánszki János
5e795ede81
added Wicked Engine to projects list 2023-08-07 07:44:39 +02:00
Adam Sawicki
8dc7b31598 An improvement in AllocatorPimpl::GetResourceAllocationInfo 2023-07-11 17:11:47 +02:00
Adam Sawicki
f9279955b6 Added information about GPU Upload Heaps support to README.md 2023-07-05 10:40:04 +02:00
Adam Sawicki
8730bb40bb Fixed bug in BuildStatsString when Resource Heap Tier 2 is not supported
Other changes pulled from branch feature-gpu-upload-heaps (without pulling the main feature).
2023-07-05 10:20:41 +02:00
Adam Sawicki
b6c5bea3cd Added support for GPU Upload Heaps from Agility SDK 1.710.0-preview
Added Allocator::IsGPUUploadHeapSupported.
Extended TotalStatistics::HeapType[] to 5 elements.
2023-07-05 10:09:03 +02:00
Adam Sawicki
554cd184af Merge branch 'master' of https://github.com/GPUOpen-LibrariesAndSDKs/D3D12MemoryAllocator 2023-05-02 12:52:36 +02:00
Adam Sawicki
3a53ed061b Updated Doxyfile for Doxygen 1.9.6
Regenerated documentation.
2023-05-02 12:52:24 +02:00
Adam Sawicki
2e5ccb114b
Merge pull request #50 from crud89/master
Support using open-sourced DirectX headers.
2023-04-12 15:31:40 +02:00
Carsten Rudolph
9c8c799fcf
Update prefix and documentation. 2023-04-12 15:30:05 +02:00
Carsten Rudolph
7234846ff5
Support using open-sourced DirectX headers. 2023-04-04 17:16:47 +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