コミットグラフ
52 コミット
作成者 SHA1 メッセージ 日付
Sergio Pedri 54c0c73cc8 Add necessary ifdefs to 'ComputeSharp.D2D1.Uwp' 2024-08-13 18:02:59 -07:00
Sergio Pedri a44b585927 Move 'ComputeSharp.D2D1.WinUI' files to shared project 2024-08-13 18:02:58 -07:00
Sergio Pedri c106c0fd50 Add blank 'ComputeSharp.D2D1.UI' project 2024-08-13 18:02:58 -07:00
Sergio Pedri 14df294d46 Remove ComputeSharp.D2D1.Uwp project and tests 2023-10-10 21:00:33 +02:00
Sergio Pedri 0121c59891 Move files from ComputeSharp.D2D1.UI to WinUI project 2023-10-10 20:59:04 +02:00
Sergio Pedri c7e70c8383 Fix wrong IID in IUnknownExtensions.IsSameInstance 2023-10-08 21:24:35 +02:00
Sergio Pedri 62d81ad03f Remove implicit ComPtr<T> operators 2023-10-08 21:07:46 +02:00
Sergio Pedri 73c492ba2b Refactor shared state for built-in pixel shader effect 2023-10-05 10:50:15 +02:00
Sergio Pedri 07fe9cceee Add D2D1PixelShader APIs to create shaders from constant buffers 2023-09-30 21:00:42 +02:00
Sergio Pedri 0fb876fde0 Update Win2D method signatures in all projects 2023-09-30 18:38:36 +02:00
Sergio Pedri 070990d4d4 Update ComputeSharp.D2D1.UI code for new APIs 2023-09-27 23:19:00 +02:00
Sergio Pedri 10406e0870 Return rented array to array pool 2023-09-21 23:04:01 +02:00
Sergio Pedri b15c034ce5 Fix some incorrect signatures in Win2D ABI type bindings 2023-08-01 13:09:53 +02:00
Sergio Pedri 79bbaa3136 Add workaround for custom WinRT components with CsWinRT
See https://github.com/microsoft/CsWinRT/issues/1319
2023-07-28 19:49:40 +02:00
Sergio Pedri f6a917ffe4 Remove unnecessary unsafe modifier 2023-06-02 14:06:36 +02:00
Sergio Pedri 0fefd20781 Add missing readonly modifiers 2023-05-17 20:01:19 +02:00
Sergio Pedri 635780b203 Add EffectNode<T> interfaces for better ergonomics 2023-05-01 19:05:10 +02:00
Sergio Pedri a58e5e8c40 Add messages to all InvalidOperationException-s 2023-04-30 22:35:34 +02:00
Sergio Pedri 296ca9f6de Add EffectGraph.SetOutputNode API to change output 2023-04-30 21:18:51 +02:00
Sergio Pedri a24f49c0e2 Add EffectGraph checks for invalid state (default) 2023-04-30 16:18:57 +02:00
Sergio Pedri 0f1e6dc11a Remove unnecessary CanvasEffect.lockObject field 2023-04-30 16:02:31 +02:00
Sergio Pedri 4db990d03b Add EffectGraph APIs to register anonymous nodes 2023-04-30 16:02:31 +02:00
Sergio Pedri f23762f6af Add CanvasEffect.EffectGraph APIs 2023-04-29 20:36:56 +02:00
Sergio Pedri d4c4586369 Return D2DERR_WRONG_FACTORY for wrong device in factory 2023-04-26 17:12:49 +02:00
Sergio Pedri 4a15e11c9c Unregister PixelShaderEffect<T> wrapper in finalizer 2023-04-26 16:49:42 +02:00
Sergio Pedri 60ae63ead2 Fix PixelShaderEffect<T> buffer precision marshalling 2023-04-26 01:10:00 +02:00
Sergio Pedri 823a01c2e6 Fix wrapper registration from ICanvasEffectFactoryNative 2023-04-26 01:10:00 +02:00
Sergio Pedri 3c2ec371eb Add more PixelShaderEffect<T> unit tests, missing null check 2023-04-26 01:10:00 +02:00
Sergio Pedri 452294cf84 Fix CanvasEffect not invalidation on creation request 2023-04-25 21:21:37 +02:00
Sergio Pedri 84836bb423 Validate D2D factories when creating managed wrappers 2023-04-24 16:01:01 +02:00
Sergio Pedri e6a22dc159 Register wrappers created from registered factories 2023-04-24 15:34:56 +02:00
Sergio Pedri 4d825d9691 Add fast path in EffectFactoryManager.EnsureEffectFactoryIsRegistered 2023-04-23 13:11:14 +02:00
Sergio Pedri cba80806d6 Fix EffectFactory marshalling on .NET Native 2023-04-23 13:04:23 +02:00
Sergio Pedri 39e67a3ba0 Split EffectFactoryManager and EffectFactory classes 2023-04-22 18:02:57 +02:00
Sergio Pedri af7bd0a8b2 Fix signatures in ICanvasFactoryNative effect factory APIs 2023-04-22 15:42:47 +02:00
Sergio Pedri 051e2536ef Wire up effect factory registration on first realization 2023-04-22 15:42:47 +02:00
Sergio Pedri 6c17745c5d Switch ICanvasEffectFactoryNative to COM interface 2023-04-22 15:42:47 +02:00
Sergio Pedri 5ca2792892 Add basic ICanvasEffectFactoryNative support code 2023-04-22 15:42:47 +02:00
Sergio Pedri 5fd941d13b Fix constructor finalization issues with ReferenceTracker 2023-04-22 05:56:59 -07:00
Sergio Pedri a0fd03a7df Fix WinRT projections marshalling on WASDK 2023-04-22 00:01:24 +02:00
Sergio Pedri f5a9277f1f Fix CanvasDevice factory activation on WASDK 2023-04-21 11:43:09 +02:00
Sergio Pedri c51e39c8bf Implement register/unregister wrapper support 2023-04-21 00:07:35 +02:00
Sergio Pedri 9e1677e06f Add new ICanvasFactoryNative APIs and ICanvasEffectFactoryNative type 2023-04-21 00:07:35 +02:00
Sergio Pedri f2406ea1da Add IInspectable interop type, update bindings 2023-04-21 00:07:35 +02:00
Sergio Pedri 1c18b3624f Fix trimming in WinUI projects 2023-04-20 20:07:19 +02:00
Sergio Pedri a291685aff Switch D2D1 UWP/WinUI samples to use CanvasEffect
This replaces the ID2D1ShaderRunner interface in the sample apps
2023-04-20 20:07:19 +02:00
Sergio Pedri 2578cf3028 Support CsWinRT CCW marshalling in WinUI project 2023-04-20 20:07:19 +02:00
Sergio Pedri df8a4c250b Support CsWinRT RCW marshalling in WinUI project 2023-04-20 20:07:19 +02:00
Sergio Pedri 805e1555fe Implement ICanvasImageInterop with CsWinRT 2023-04-20 20:07:18 +02:00
Sergio Pedri fe665a232f Adjust namespaces in ComputeSharp.D2D1.WinUI 2023-04-20 20:07:18 +02:00