Commit Graph

249 Commits

Author SHA1 Message Date
Adam Sawicki
49b1affe9b
Merge pull request #26 from rayferric/master
Add option to build as shared library
2021-11-24 11:45:56 +01:00
rayferric
69df7fe9d1 Add option to build as shared library 2021-11-24 01:22:58 +01:00
Adam Sawicki
4550e94955 Added a test to make sure committed allocations our of custom pools work as committed
See #24
2021-11-23 14:13:52 +01:00
Adam Sawicki
5af718fd7e Added TerraFX.Interop.D3D12MemoryAllocator to README 2021-11-23 13:53:33 +01:00
Adam Sawicki
37423ffd7e Added virtual destructor to class IUnknownImpl 2021-11-03 13:22:58 +01:00
Adam Sawicki
44b43df7c7 Remove unnecessary annotations from IUnknownImpl::QueryInterface in CPP file 2021-10-07 16:09:23 +02:00
Adam Sawicki
bd4c39f8ac Fix compilation of Tests.cpp for platforms where ID3D12Device8 is not defined 2021-10-06 15:14:43 +02:00
Adam Sawicki
79c20314a5 Replace Premake with Cmake 2021-10-06 14:37:02 +02:00
Adam Sawicki
30b84395a1 Fixes to Cmake
Regenerated HTML documentation
2021-10-06 14:35:03 +02:00
Sawicki, Adam
9e2ad5312d Merge branch 'development' into 'development'
Doxygen generation fix, small cleanup

See merge request gpuopen/GPUOpen-LibrariesAndSDKs/d3d12memoryallocator!2
2021-10-06 12:10:31 +00:00
Lukasz Izdebski
686c62461a Doxygen generation fix, small cleanup 2021-10-06 14:08:06 +02:00
Sawicki, Adam
ae0e4ba71a Merge branch 'development' into 'development'
Development

See merge request gpuopen/GPUOpen-LibrariesAndSDKs/d3d12memoryallocator!1
2021-10-06 11:36:30 +00:00
Lukasz Izdebski
9ac96caffe build option description fix 2021-10-06 13:31:56 +02:00
Lukasz Izdebski
c83d4df6bd remove premake, CMake added, Doxygen in Cmake added 2021-10-06 13:26:10 +02:00
Adam Sawicki
54f99001d2 Remove unnecessary annotations from IUnknownImpl::QueryInterface 2021-10-06 11:31:26 +02:00
Adam Sawicki
130d61cc58 Defined D3D12MA_IID_PPV_ARGS
Based on e3d58a4044 and #16
2021-10-05 11:27:53 +02:00
Adam Sawicki
0b04600cbf Added some #ifdef _WIN32
Based on e3d58a4044
2021-10-05 11:18:29 +02:00
Adam Sawicki
9eb6944450
Merge pull request #23 from danielkrupinski/unused-functions
Remove unused static functions
2021-09-21 17:40:20 +02:00
Daniel Krupiński
964f329c0a Remove unused static functions
* NextPow2()
* PrevPow2()
* StrIsEmpty()
2021-09-20 20:38:53 +02:00
Adam Sawicki
314dda66af Little improvement in README 2021-09-20 20:26:30 +02:00
Adam Sawicki
c8d269e89a
Merge pull request #22 from danielkrupinski/unused-variable
Remove unused 'sumBlockSize' variable
2021-09-20 20:23:37 +02:00
Daniel Krupiński
85066e0554 Remove unused 'sumBlockSize' variable 2021-09-17 17:49:05 +02:00
Adam Sawicki
3ef73a8343
Merge pull request #21 from danielkrupinski/typedef-to-using
Use 'using' declaration instead of 'typedef' for creating type aliases
2021-09-17 13:43:56 +02:00
Daniel Krupiński
a082e0367f Use 'using' declaration instead of 'typedef' for creating type aliases 2021-09-16 20:24:12 +02:00
Adam Sawicki
66d745372c
Merge pull request #20 from danielkrupinski/no-typedef-enum
Do not typedef enums
2021-09-16 20:17:44 +02:00
Daniel Krupiński
c7f46dd322 Do not typedef enums 2021-09-16 20:12:48 +02:00
Adam Sawicki
8146fa85f1
Merge pull request #19 from danielkrupinski/master
Use IID_PPV_ARGS() macro for passing arguments to heap creation methods
2021-09-16 20:04:15 +02:00
Daniel Krupiński
5d92b05e99 Use IID_PPV_ARGS() macro for passing arguments to heap creation methods 2021-09-16 19:39:09 +02:00
Adam Sawicki
f50f65dcde
Merge pull request #18 from danielkrupinski/master
Do not define empty non-virtual destructors
2021-09-16 19:22:53 +02:00
Daniel Krupiński
48521a1f8e Preserve comments explaining empty destructors 2021-09-16 19:21:19 +02:00
Daniel Krupiński
074d7b446a Do not define empty non-virtual destructors 2021-09-15 21:10:40 +02:00
Adam Sawicki
f985d4ac8f Moved main documentation text from the beginning to the end of header file
Disabled VERBATIM_HEADERS in Doxyfile. Regenerated the docs.
2021-07-28 15:44:27 +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
7642634a62 BREAKING CHANGE: Made all public classes COM-compatible - inheriting from IUnknown, reference counting 2021-07-26 21:18:52 +02:00
Adam Sawicki
0f44bf40bf premake5.lua: Added ignored warning 4201 and missing shlwapi.lib 2021-07-26 20:29:06 +02:00
Adam Sawicki
99270fb90d Ported sample and tests from CComPtr to Microsoft::WRL::ComPtr 2021-07-26 20:28:38 +02:00
Adam Sawicki
68c676f8e2 Used range-based for loops wherever I could 2021-06-25 17:50:40 +02:00
Adam Sawicki
18eab0d226 Trying the fix online documentation 2021-06-18 17:10:46 +02:00
Adam Sawicki
3e2af61832 Minor fix in documentation 2021-06-18 16:48:43 +02:00
Adam Sawicki
77768b0cd3 Pushing Doxygen-generated HTML documentation to be browsable online 2021-06-18 16:33:04 +02:00
Adam Sawicki
ea913f3849 Added POOL_DESC::MinAllocationAlignment 2021-06-18 16:17:16 +02:00
Adam Sawicki
10f148cef0 Rebuilt binary 2021-05-05 12:31:54 +02:00
Adam Sawicki
17df03f5ff Fixed major bug occurring on D3D12_RESOURCE_HEAP_TIER_1
Closes #11
2021-05-05 12:30:02 +02:00
Adam Sawicki
4dedc35e8f Fixed tests: Added query for D3D12_FEATURE_PROTECTED_RESOURCE_SESSION_SUPPORT
Closes #12
2021-05-05 12:18:53 +02:00
Adam Sawicki
e37363c0f1 Added documentation about committed allocations in custom pools
Also a small improvement in TestStandardCustomCommittedPlaced.
2021-03-22 11:33:29 +01:00
Adam Sawicki
cb0376a32e Fixed Allocator::CalculateStats for committed allocations in custom pools
Added test for it.
2021-03-19 17:17:23 +01:00
Adam Sawicki
d647ce1202 Enabled committed allocations in custom pools!
Added test: TestStandardCustomCommittedPlaced.
2021-03-19 16:59:48 +01:00
Adam Sawicki
47bedc01ff More refactoring - added CurrentBudgetData::AddCommittedAllocation, RemoveCommittedAllocation 2021-03-19 16:36:44 +01:00
Adam Sawicki
febc1c2cf6 Further refactoring 2021-03-19 16:32:25 +01:00
Adam Sawicki
7164a23fea More refactoring 2021-03-19 15:38:31 +01:00