コミットグラフ
63 コミット
作成者 SHA1 メッセージ 日付
Sergio Pedri 0d159a8088 Default to 60fps for dynamic resolution when using WARP 2022-12-24 15:49:58 +01:00
Sergio Pedri cb11ea5a3b Rename IReferenceTrackedObject.DangerousRelease for clarity 2022-10-21 13:56:50 +02:00
Sergio Pedri 21207d032d Rename ReferenceTracker APIs for simplicity 2022-10-21 03:57:05 -07:00
Sergio Pedri 27ca08cf2f Refactor code to remove public NativeObject 2022-10-21 03:57:05 -07:00
Sergio Pedri 5c4479a0e1 Resolve remaining build warnings 2022-10-15 09:10:18 -07:00
Sergio Pedri b9a133b74c Add .this qualifier to all field accesses 2022-10-15 09:10:18 -07:00
Sergio Pedri 8be9203a1c Remove unnecessary parentheses 2022-10-15 09:10:18 -07:00
Sergio Pedri d910922ef5 Use blocks for all if statements 2022-10-15 09:10:18 -07:00
Sergio Pedri 16c0fc9aab Use explicit types everywhere 2022-10-15 09:10:18 -07:00
Sergio Pedri 9343ac7f7b Add explicit discards to all value returning expressions 2022-10-15 09:10:18 -07:00
Sergio Pedri e94636b80c Run dotnet format whitespace 2022-10-15 09:10:18 -07:00
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