コミットグラフ
52 コミット
作成者 SHA1 メッセージ 日付
Sergio Pedri 7dca92dc33 Stop the render loop before requesting disposal 2022-08-03 15:46:23 -07:00
Sergio Pedri c577733ac7 Only get reference tracking leases when rendering 2022-08-03 15:46:23 -07:00
Sergio Pedri b0709526ef Add ability to create shader panels for target devices 2022-07-31 23:26:14 +02:00
Sergio Pedri a86775f550 Add RenderingFailedEventArgs type 2022-07-31 23:26:14 +02:00
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 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 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 4e5acba69c Remove GraphicsDevice.Default property and APIs 2022-07-31 23:26:11 +02:00
Sergio Pedri 639bcb75e1 Code refactoring, always use DXGIFactory6 as entry point 2022-06-19 02:57:58 +02:00
Sergio Pedri c72aa88478 Fix a crash when disposing a shader panel 2022-03-05 23:16:05 +01:00
Sergio Pedri c32e5b3f1a Improve CsWinRT native IUnknown object retrieval 2022-02-04 01:40:29 +01:00
Sergio Pedri 9e9536486d Fix a memory leak in the UWP swap chain interop logic 2022-02-01 14:57:58 +01:00
Sergio Pedri 4acaf8c001 Fix refresh rate detection on devices with no GPU outputs 2022-01-31 20:06:20 +01:00
Sergio Pedri 6ff4b3103c Leverage [CallerArgumentExpression] to remove nameof(...) uses 2022-01-29 18:37:33 +01:00
Sergio Pedri 0b1b3e3391 Switch to CommunityToolkit.Diagnostics 8.0.0 Preview 1 2022-01-29 18:37:33 +01:00
Sergio Pedri 276f9da199 Fix computation of compositor refresh rate
Cannot use DwmGetCompositionTimingInfo as it fails WACK
2022-01-29 17:11:58 +01:00
Sergio Pedri ccc491d0e6 Adjust dynamic resolution based on refresh rate
This removes the fixed target of 60fps
2022-01-29 17:11:58 +01:00
Sergio Pedri 9b05770168 Rename pixel interfaces to IRead[Only|Write]NormalizedTextureMD<TPixel> 2022-01-22 15:01:06 +01:00
Sergio Pedri 62a3129046 Fix dynamic resolution when v-sync is enabled 2022-01-21 20:55:12 +01:00
Sergio Pedri 6c21561e6d Switch resolution manager Create() method to constructor 2022-01-21 20:09:51 +01:00
Sergio Pedri 871f142d90 Minor code refactoring 2022-01-21 20:07:03 +01:00
Sergio Pedri 27646a0833 Fix resolution drop when using dynamic resolution and v-sync 2022-01-21 11:15:18 +01:00
Sergio Pedri 3b586227d6 Fix render stopwatch not stopping in case of exceptions 2022-01-20 23:30:39 +01:00
Sergio Pedri 9bc9c97eaa Add option to enable v-sync in shader panels 2022-01-20 23:04:41 +01:00
Sergio Pedri d15967b92a Improve XML docs 2022-01-09 10:11:26 +01:00
Sergio Pedri b734baa34b Switch shader runners to use texture-provided device 2022-01-06 22:59:51 +01:00
Sergio Pedri cb975e552a Fix resolution scale setting in shader panels 2022-01-06 17:08:53 +01:00
Sergio Pedri 044ddb8648 Add ability for IShaderRunner to skip presenting frames 2022-01-06 01:39:32 +01:00
Sergio Pedri d406eb4cbc Skip unnecessary swap chain backbuffers resizes 2022-01-06 01:39:32 +01:00
Sergio Pedri 8916bbf0fb Fix an access violation in the shader panel render loop 2022-01-03 17:48:52 +01:00
Sergio Pedri 10f2663cad Add rendering events to shader panels 2022-01-03 11:17:42 +01:00
Sergio Pedri 49c5690ff8 Avoid blocking on UI thread in shader panels 2022-01-03 10:23:14 +01:00
Sergio Pedri d11f524ade Add AnimatedComputeShaderPanel control 2022-01-02 20:32:40 +01:00
Sergio Pedri 22d429d101 Add initial version of IFrameRequestQueue 2022-01-02 20:32:40 +01:00
Sergio Pedri 28a4ad3b48 Add parameter to IShaderRunner 2022-01-02 20:32:40 +01:00
Sergio Pedri 056e50d899 Code refactoring to SwapChainManager 2022-01-02 20:32:40 +01:00
Sergio Pedri daf126d50e Separate support for dynamic resolution 2022-01-02 20:32:40 +01:00
Sergio Pedri e831cac33b Fix incorrect signaling during presenting 2022-01-02 20:32:39 +01:00
Sergio Pedri 6e0a6d0796 Move swap chain rendering code to SwapChainManager type 2022-01-02 20:32:39 +01:00
Sergio Pedri b3338be7dd Revert multiple frames latency 2022-01-02 20:32:39 +01:00
Sergio Pedri 9a0c27b71e Fix frame latency management, improve rendering performance 2022-01-01 15:39:18 +01:00
Sergio Pedri a0a3511efe Rename Gpu class to GraphicsDevice 2021-12-07 23:10:12 +01:00