Sergio Pedri
|
2623754991
|
Fix shader panels Dispose() logic when called off the UI thread
|
2022-07-31 23:26:13 +02:00 |
|
Sergio Pedri
|
33983506a9
|
Add Disposed event to compute shader panels
|
2022-07-31 23:26:13 +02:00 |
|
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
|
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
|
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
|
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
|
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
|
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
|
15682c44e6
|
Ensure DeviceLost event is also raised in debug mode
|
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
|
a6209491c9
|
Fix D2D1PixelShader.GetConstantBuffer with stateless shaders
|
2022-07-24 13:27:46 +02:00 |
|
Sergio Pedri
|
b42a250701
|
Add temporary polyfill for D3D12MA using an older TerraFX reference
|
2022-07-02 02:54:41 +02:00 |
|
Sergio Pedri
|
5c324a8c4c
|
Ignore D3D12_MESSAGE_ID_CREATERESOURCE_STATE_IGNORED messages
|
2022-07-02 02:46:53 +02:00 |
|
Sergio Pedri
|
d27f84d65a
|
Add missing D3D12_MESSAGE_ID values
|
2022-06-28 01:00:52 +02:00 |
|
Sergio Pedri
|
2aa4c5b1d2
|
Fix HLSL generation for delegates with captured constants
|
2022-06-26 22:42:54 +02:00 |
|
Sergio Pedri
|
405098cd63
|
Merge pull request #312 from Sergio0694/dev/dred-support
Add DirectX DRED support and PIX extensions
|
2022-06-25 20:24:54 +02:00 |
|
Sergio Pedri
|
06cb67e490
|
Fix .targets by adding prefixes to all properties and items
|
2022-06-21 16:38:37 +02:00 |
|
Sergio Pedri
|
0ca0fe0260
|
Enable DRED debug output for breadcrumbs and contexts
|
2022-06-21 00:44:39 +02:00 |
|
Sergio Pedri
|
6694c31d63
|
Add more HLSL reserved identifiers
|
2022-06-20 23:51:12 +02:00 |
|
Sergio Pedri
|
6863c2bc8a
|
Add .NET Standard 2.0 polyfill types for DRED support
|
2022-06-19 18:11:51 +02:00 |
|
Sergio Pedri
|
7878a96f69
|
Enable breadcrumb context tracking with DRED
|
2022-06-19 16:34:53 +02:00 |
|
Sergio Pedri
|
9d7098002c
|
Add PIX overloads taking a ReadOnlySpan<byte> message
|
2022-06-19 15:37:40 +02:00 |
|
Sergio Pedri
|
6144932685
|
Add USE_PIX conditional attributes to PIX APIs
|
2022-06-19 15:29:21 +02:00 |
|