コミットグラフ
75 コミット
作成者 SHA1 メッセージ 日付
Sergio Pedri 277638379e Refactor IID logic into marshaller type 2024-09-29 15:59:26 -07:00
Sergio Pedri da98a03317 Fix IID for 'ISwapChainPanelNative' on UWP 2024-09-29 12:41:46 -07:00
Sergio Pedri 59cdb512ac Add necessary ifdefs to 'ComputeSharp'Uwp' 2024-08-13 18:02:58 -07:00
Sergio Pedri 0479d275fe Move 'ComputeSharp.WinUI' files to shared project 2024-08-13 18:02:58 -07:00
Sergio Pedri c37ea57da3 Add blank 'ComputeSharp.UI' project 2024-08-13 18:02:58 -07:00
Sergio Pedri 33ec9f7570 Remove ComputeSharp.Uwp project and update sample 2023-10-10 20:49:54 +02:00
Sergio Pedri 58fbb2045a Move files from ComputeSharp.UI to WinUI project 2023-10-10 20:42:42 +02:00
Sergio Pedri 7ed580404a Remove unnecessary ComPtr<T> methods 2023-10-08 21:07:46 +02:00
Sergio Pedri 62d81ad03f Remove implicit ComPtr<T> operators 2023-10-08 21:07:46 +02:00
Sergio Pedri 6f7bbff6cf Switch to ArgumentNullException.ThrowIfNull extension 2023-02-25 16:20:04 +01:00
Sergio Pedri dc4195a0d7 Remove unnecessary .csproj/.shproj nodes and comments 2023-01-22 00:11:40 +01:00
Sergio Pedri 1b77d4fe51 Apply IDE0003 codefix to solution (simply names) 2023-01-17 00:40:35 +01:00
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