Sergio Pedri
|
05eff37ff0
|
Optimize reference tracking logic
Remove one object field and virtual stub dispatch calls
|
2022-07-31 23:26:13 +02:00 |
|
Sergio Pedri
|
93a98a60ac
|
Minor code refactoring
|
2022-07-31 23:26:13 +02:00 |
|
Sergio Pedri
|
edddb72ddd
|
Add eager disposal of cached pipeline states when disposing devices
|
2022-07-31 23:26:13 +02:00 |
|
Sergio Pedri
|
9dd707a835
|
Add safety Signal/Wait when disposing SwapChainManager
|
2022-07-31 23:26:13 +02:00 |
|
Sergio Pedri
|
d5b746402e
|
Add missing logic to reset the swap chain in ISwapChainPanelNative
|
2022-07-31 23:26:13 +02:00 |
|
Sergio Pedri
|
6921602b8a
|
Add missing CloseHandle call in SwapChainManager
|
2022-07-31 23:26:13 +02:00 |
|
Sergio Pedri
|
77503542aa
|
Add IDisposable interface to compute shader panels
|
2022-07-31 23:26:12 +02:00 |
|
Sergio Pedri
|
12f451977a
|
Fix typo, enable nightly builds regardless of test results
|
2022-07-31 23:26:12 +02:00 |
|
Sergio Pedri
|
4b3dd0ecf9
|
Add unit tests for GraphicsDevice.GetDefault() contract
|
2022-07-31 23:26:12 +02:00 |
|
Sergio Pedri
|
27a5410a72
|
Ensure same graphics device is used
|
2022-07-31 23:26:12 +02:00 |
|
Sergio Pedri
|
b1f596402e
|
Simplify reference tracking logic in ComputeContext type
|
2022-07-31 23:26:12 +02:00 |
|
Sergio Pedri
|
e045fc2dce
|
Add unit test for InteropServices APIs with disposed device
|
2022-07-31 23:26:12 +02:00 |
|
Sergio Pedri
|
1ab3931391
|
Fix reference tracking with ComputeContext and async execution
|
2022-07-31 23:26:12 +02:00 |
|
Sergio Pedri
|
84ebe36975
|
Make InteropServices APIs thread safe
|
2022-07-31 23:26:12 +02:00 |
|
Sergio Pedri
|
65fe7f53c6
|
Switch all GetLease() calls to using declarations
|
2022-07-31 23:26:12 +02:00 |
|
Sergio Pedri
|
5100ab471a
|
Move all Guard checks at the start of each method
|
2022-07-31 23:26:12 +02:00 |
|
Sergio Pedri
|
149a03d92b
|
Move ReferenceTracker logic to NativeObject base class
|
2022-07-31 23:26:11 +02:00 |
|
Sergio Pedri
|
297aa7ab36
|
Switch to ReferenceTracker for all device/resource types
|
2022-07-31 23:26:11 +02:00 |
|
Sergio Pedri
|
c5997d2c62
|
Add ReferenceTracker type
|
2022-07-31 23:26:11 +02:00 |
|
Sergio Pedri
|
c8c779d827
|
Add lock to synchronize Dispose/DeviceLost logic
|
2022-07-31 23:26:11 +02:00 |
|
Sergio Pedri
|
8b8ca034db
|
Skip device disposal test on .NET 6 (possible D3D12MA bug)
|
2022-07-31 23:26:11 +02:00 |
|
Sergio Pedri
|
d09d56c573
|
Fix a NRE due to race condition in device lost callback
|
2022-07-31 23:26:11 +02:00 |
|
Sergio Pedri
|
93c82feb98
|
Reset default device on dispose
|
2022-07-31 23:26:11 +02:00 |
|
Sergio Pedri
|
4e5acba69c
|
Remove GraphicsDevice.Default property and APIs
|
2022-07-31 23:26:11 +02:00 |
|
Sergio Pedri
|
ea0f792ae6
|
Implement GraphicsDevice.GetDefault() method
|
2022-07-31 23:26:11 +02:00 |
|
Sergio Pedri
|
ca96337b8a
|
Add GraphicsDevice.GetDefault() declaration
|
2022-07-31 23:26:10 +02:00 |
|
Sergio Pedri
|
701c88983c
|
Add DeviceLostReason.AccessDenied value
|
2022-07-31 23:26:10 +02:00 |
|
Sergio Pedri
|
aa50b02144
|
Add device disposal reference counting tests
|
2022-07-31 23:26:10 +02:00 |
|
Sergio Pedri
|
6359b05500
|
Fix access violation on NS2.0 target due to wrong marshal method
|
2022-07-31 23:26:10 +02:00 |
|
Sergio Pedri
|
c2c7613b47
|
Fix memory leak in ID3D12DescriptorHandleAllocator
|
2022-07-31 23:26:10 +02:00 |
|
Sergio Pedri
|
d7a5e89dcb
|
Fix race condition in GraphicsDevice GC handle cleanup
|
2022-07-31 23:26:10 +02:00 |
|
Sergio Pedri
|
b50de2528f
|
Fix incorrect cleanup of device lost event handle
|
2022-07-31 23:26:10 +02:00 |
|
Sergio Pedri
|
3f77e0a9b5
|
Add more device lost unit tests
|
2022-07-31 23:26:10 +02:00 |
|
Sergio Pedri
|
90f74bd402
|
Improve error handling in DeviceExtensions
|
2022-07-31 23:26:10 +02:00 |
|
Sergio Pedri
|
2aa7c70edd
|
Fix device lost unit test (using ID3D12Device5::RemoveDevice)
|
2022-07-31 23:26:10 +02:00 |
|
Sergio Pedri
|
8a9368506b
|
Add device lost validation to public APIs
|
2022-07-31 23:26:10 +02:00 |
|
Sergio Pedri
|
041956b854
|
Switch device lost detection to fence signal callback
|
2022-07-31 23:26:10 +02:00 |
|
Sergio Pedri
|
5cb00a8924
|
Fix use-after-free with ID3D12InfoQueue messages
|
2022-07-31 23:26:09 +02:00 |
|
Sergio Pedri
|
ab8ca32770
|
Add missing Assert() calls when submitting GPU work
|
2022-07-31 23:26:09 +02:00 |
|
Sergio Pedri
|
0a75a7f83c
|
Enable device lost tests in CI pipeline
|
2022-07-31 23:26:09 +02:00 |
|
Sergio Pedri
|
ea81ce27f9
|
Add device lost unit tests
|
2022-07-31 23:26:09 +02:00 |
|
Sergio Pedri
|
15682c44e6
|
Ensure DeviceLost event is also raised in debug mode
|
2022-07-31 23:26:09 +02:00 |
|
Sergio Pedri
|
2317ac8423
|
Remove unnecessary references from DisableDynamicCompilation tests
|
2022-07-31 23:26:09 +02:00 |
|
Sergio Pedri
|
7ed91b32d9
|
Add logic to raise GraphicsDevice.DeviceLost in case of errors
|
2022-07-31 23:26:09 +02:00 |
|
Sergio Pedri
|
b81c140107
|
Add GraphicsDevice.DeviceLost event
|
2022-07-31 23:26:09 +02:00 |
|
Sergio Pedri
|
80a2dc50aa
|
Add DeviceLostReason enum type
|
2022-07-31 23:26:09 +02:00 |
|
Sergio Pedri
|
6f27d78bb7
|
Merge pull request #327 from Sergio0694/dev/trim-uwp-sample
Enable full trimming for UWP sample app
|
2022-07-31 14:08:53 -07:00 |
|
Sergio Pedri
|
914977d146
|
Enable full trimming for UWP sample app
|
2022-07-31 22:32:17 +02:00 |
|
Sergio Pedri
|
068856d382
|
Merge pull request #324 from Sergio0694/dev/fix-emty-load-constant-buffer
Fix D2D1PixelShader.GetConstantBuffer with stateless shaders
|
2022-07-24 14:02:59 +02:00 |
|
Sergio Pedri
|
a6209491c9
|
Fix D2D1PixelShader.GetConstantBuffer with stateless shaders
|
2022-07-24 13:27:46 +02:00 |
|