コミットグラフ
29 コミット
作成者 SHA1 メッセージ 日付
Sergio Pedri 92fbf75185 Remove ThrowHelper APIs in D2D1 projects, switch to new extensions 2023-02-25 18:51:51 +01:00
Sergio Pedri 1b027209df Minor code refactoring, share device context rent logic 2023-02-24 00:56:26 +01:00
Sergio Pedri ef0ecdea62 Enable realizing PixelShaderEffect<T> when no context is available 2023-02-24 00:56:26 +01:00
Sergio Pedri ca35f249f7 Set parameters to null in public COM APIs 2023-02-24 00:08:14 +01:00
Sergio Pedri fb16181de3 Add parameter validation in ICanvasImageInterop APIs 2023-02-24 00:08:14 +01:00
Sergio Pedri 278062743c Implement WIN2D_GET_DEVICE_ASSOCIATION_TYPE support 2023-02-24 00:08:14 +01:00
Sergio Pedri c33877d382 Defer getting D2D1 factory to when realization fails 2023-01-10 17:45:54 +01:00
Sergio Pedri 470a64f233 Fix incorrect source indices when realizing D2D effects 2022-12-22 10:56:03 -08:00
Sergio Pedri 832ac59bcf Add extra AddRef call to protect against AVs in edge case 2022-12-22 10:56:03 -08:00
Sergio Pedri b37e735e06 Fix a memory leak with the realization ICanvasDevice object 2022-12-22 10:56:03 -08:00
Sergio Pedri ec2e1e15f0 Add collection interfaces to PixelShaderEffect<T>.SourceCollection 2022-12-22 10:56:03 -08:00
Sergio Pedri d28366f765 Rename PixelShaderEffect<T>.Value property to ConstantBuffer 2022-12-22 10:56:03 -08:00
Sergio Pedri d8bdd89617 Port CanvasEffect::ApplyDpiCompensation logic 2022-12-22 10:56:03 -08:00
Sergio Pedri 941488a647 Forward effect sources upon realization 2022-12-22 10:56:03 -08:00
Sergio Pedri 5c59b021c8 Add effect registration check for E_NOTFOUND 2022-12-22 10:56:03 -08:00
Sergio Pedri 49ecac2169 Add bounds checks for sources and resource texture managers 2022-12-22 10:56:03 -08:00
Sergio Pedri 4423e0d015 Implement RefreshInputs method 2022-12-22 10:56:03 -08:00
Sergio Pedri a33f4ddbb7 Refactor D2D sources logic, implement Unrealize() 2022-12-22 10:56:03 -08:00
Sergio Pedri eacda866a2 Rename GetD2DImageFlags to follow Win2D changes 2022-12-22 10:56:03 -08:00
Sergio Pedri d6cd052791 Refactor ComPtr<T>.IsSameInstance extension 2022-12-22 10:56:03 -08:00
Sergio Pedri 7761d0bbd8 Improve consistency in interop API parameters ordering 2022-12-22 10:56:03 -08:00
Sergio Pedri e64b638454 Add PixelShaderEffect<T>.ResourceTextureManagers property 2022-12-22 10:56:03 -08:00
Sergio Pedri 68bf5fe9b3 Add PixelShaderEffect<T>.TransformMapper property 2022-12-22 10:56:03 -08:00
Sergio Pedri 6f726a5951 Remove leftover ID2D1TransformMapperFactory<T> references 2022-12-22 10:56:03 -08:00
Sergio Pedri f31627c472 Update GetD2DImageFlags type with new Win2D changes 2022-12-22 10:56:03 -08:00
Sergio Pedri c58695cb5f Implement PixelShaderEffect<T>.Value property 2022-12-22 10:56:03 -08:00
Sergio Pedri c083fdc6ff Add ICanvasImageInterop raw binding type 2022-12-22 10:56:03 -08:00
Sergio Pedri a32fc9ec64 More code refactoring 2022-12-22 10:56:03 -08:00
Sergio Pedri 1c2ff9a2ef Move ICanvasImageInterop implementation into partial file 2022-12-22 10:56:03 -08:00