コミットグラフ
2431 コミット
作成者 SHA1 メッセージ 日付
Sergio Pedri 832c8cd355 Merge pull request #329 from Sergio0694/dev/trimming-fixes
Add NativeAOT support
2022-08-05 06:00:44 -07:00
Sergio Pedri bc15b590c0 Remove leftover [UnconditionalSuppressMessage] polyfill 2022-08-05 14:11:35 +02:00
Sergio Pedri 3deaeb0328 Fix trimming annotations, use [RequiresUnreferencedCode] 2022-08-05 14:11:35 +02:00
Sergio Pedri be62eed772 Replace pragma with [UnconditionalSuppressMessage] in TypeInfo<T> 2022-08-05 14:11:35 +02:00
Sergio Pedri e78b90c941 Add UnconditionalSuppressMessageAttribute polyfill 2022-08-05 14:11:35 +02:00
Sergio Pedri 6415972f51 Minor fixes to polyfills 2022-08-05 14:11:35 +02:00
Sergio Pedri 3d0217dc7d Add missing ContouredLayers sample 2022-08-05 14:11:34 +02:00
Sergio Pedri 5bedaa33a3 Remove reflection from SwapChain sample setup 2022-08-05 14:11:34 +02:00
Sergio Pedri 2254053960 Remove reflection from SwapChain sample 2022-08-05 14:11:34 +02:00
Sergio Pedri 9f68fc31da Fix NAOT trimming annotations for ComputeSharp 2022-08-05 14:11:34 +02:00
Sergio Pedri a5f5e76dfa Add trimming annotations to TypeInfo<T> 2022-08-05 14:11:34 +02:00
Sergio Pedri 24e9dedfc5 Add DynamicallyAccessedMembersAttribute polyfills 2022-08-05 14:11:34 +02:00
Sergio Pedri 1bd11e681f Merge pull request #331 from Sergio0694/dev/shader-panel-tweaks
Minor tweaks to shader panel backend
2022-08-03 16:24:08 -07:00
Sergio Pedri 62e3f3538d Add missing readonly modifier 2022-08-03 15:46:23 -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 678b82c081 Merge pull request #330 from Sergio0694/dev/fix-native-resources-disposal
Fix thread-safety when disposing shader resources
2022-08-03 15:46:06 -07:00
Sergio Pedri 4cf14e9ccf Restore disposal checks in readonly wrappers 2022-08-03 22:47:23 +02:00
Sergio Pedri 28abda5396 Fix thread-safety when disposing shader resources 2022-08-01 22:15:38 +02:00
Sergio Pedri b015f25ee3 Merge pull request #328 from Sergio0694/dev/update-nuget-packages
Update all NuGet packages to latest stable
2022-07-31 16:58:24 -07:00
Sergio Pedri 443ec85b37 Update all NuGet packages to latest stable 2022-07-31 16:23:36 -07:00
Sergio Pedri 625e5b1427 Merge pull request #326 from Sergio0694/dev/optimize-native-object
Make NativeObject logic lock-free
2022-07-31 16:23:21 -07:00
Sergio Pedri 6358d2bf99 Make NativeObject logic lock-free 2022-08-01 00:46:13 +02:00
Sergio Pedri c63870e6ec Merge pull request #319 from Sergio0694/dev/device-lost-event
Add GraphicsDevice.DeviceLost event
2022-07-31 15:45:56 -07:00
Sergio Pedri 91722437c4 Fix GC hole in device lost unit tests 2022-08-01 00:13:09 +02:00
Sergio Pedri 276355d680 Split device lost tests at class level 2022-07-31 23:35:03 +02: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 480004be21 Add DeviceLostEventArgs type 2022-07-31 23:26:14 +02:00
Sergio Pedri 7396d0c974 Add Releasr Arm64 to pipeline script 2022-07-31 23:26:14 +02:00
Sergio Pedri 5b2e0bd6e5 Fix solution configuration, makr x64 the default 2022-07-31 23:26:14 +02:00
Sergio Pedri 42c862c148 Fix disposing resources after device on .NET 6 2022-07-31 23:26:14 +02:00
Sergio Pedri f1306a4621 Add unit test for multiple device removals 2022-07-31 23:26:14 +02:00
Sergio Pedri 22fccc032c Fix race conditions in device removed unit tests 2022-07-31 23:26:14 +02:00
Sergio Pedri f9c9b5a24b Code refactoring to unit tests 2022-07-31 23:26:14 +02:00
Sergio Pedri 358f89adb1 Improve GetDefault_VerifyContract unit test 2022-07-31 23:26:14 +02:00
Sergio Pedri 02ec241dde Restore unit test checks before publishing nightlies 2022-07-31 23:26:13 +02:00
Sergio Pedri 748f14d7fd Switch to cached devices in ComputeSharp tests 2022-07-31 23:26:13 +02:00
Sergio Pedri 37823f366c Move GPU disposal tests to DeviceLost test project 2022-07-31 23:26:13 +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 1226da5b4b Add unit tests for NativeObject dispose logic 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 12f451977a Fix typo, enable nightly builds regardless of test results 2022-07-31 23:26:12 +02:00