コミットグラフ
83 コミット
作成者 SHA1 メッセージ 日付
Sergio Pedri 85a52a9be6 Bump target UWP SDK to 22621 2023-03-10 00:13:23 +01:00
Sergio Pedri 0df145a741 Use Unsafe.As to reinterpret ImmutableArray<T> values 2023-03-03 12:45:40 +01:00
Sergio Pedri c35b2d9394 Use throw helpers in more places, add ObjectDisposedExceptionExtensions 2023-02-26 14:06:07 +01:00
Sergio Pedri 92fbf75185 Remove ThrowHelper APIs in D2D1 projects, switch to new extensions 2023-02-25 18:51:51 +01:00
Sergio Pedri 7be3d577c4 Switch to new ArgumentNullException extensions in D2D1 projects 2023-02-25 16:24:52 +01:00
Sergio Pedri 5c310be61f Simplify code in ICanvasEffect methods marshalling 2023-02-24 02:31:34 +01:00
Sergio Pedri 26a75e68cf Implement ICanvasEffect support in PixelShaderEffect<T> 2023-02-24 02:31:34 +01:00
Sergio Pedri 10a3788224 Add bindings for new Win2D exports for ICanvasEffect 2023-02-24 01:58:18 +01:00
Sergio Pedri 683e1061f2 Add ICanvasEffect binding type 2023-02-24 01:58:17 +01:00
Sergio Pedri 803040e157 Add ICanvasResourceCreatorWithDpi binding type 2023-02-24 01:58:17 +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 00d171cdb0 Rent device context to create DPI compensaton effect 2023-02-24 00:56:26 +01:00
Sergio Pedri 303246fffd Add ID2D1DeviceContextPool and ID2D1DeviceContextLease bindings 2023-02-24 00:56:26 +01:00
Sergio Pedri b197d5b857 Bump Win2D reference to 1.27.0-preview2 2023-02-24 00:08:14 +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 c790217085 Add WIN2D_GET_DEVICE_ASSOCIATION_TYPE binding type 2023-02-24 00:08:14 +01:00
Sergio Pedri d3cae63ffc Update MSBuild.Extras .NET Native version to 6.2.14 2023-01-22 12:37:49 +01:00
Sergio Pedri b2826a673f Reduce string pinning duration in ResourceManager.GetOrCreate 2023-01-21 18:04:45 +01:00
Sergio Pedri 151204d5c1 Fix exception when setting constant buffer for empty type 2023-01-10 17:55:27 +01:00
Sergio Pedri d304a0ff96 Fix exception when getting constant buffer for empty type 2023-01-10 17:45:54 +01:00
Sergio Pedri c33877d382 Defer getting D2D1 factory to when realization fails 2023-01-10 17:45:54 +01:00
Sergio Pedri d0490ed524 Fix ID2D1DeviceContextExtensions file name 2023-01-10 17:45:54 +01:00
Sergio Pedri bcbc0063f3 Remove duplicate <EmbedUntrackedSources> property 2022-12-28 18:25:24 +01:00
Sergio Pedri 56385fddb9 Switch UWP packages to embedded PDBs 2022-12-28 18:24:42 +01:00
Sergio Pedri 21723238b7 Add [NotNullIfNotNull] polyfill for CanvasEffect 2022-12-23 23:18:56 +01:00
Sergio Pedri 4cc15152fe Improve CanvasEffect public API 2022-12-23 23:18:56 +01:00
Sergio Pedri 24b54273c8 Add initial draft of base CanvasEffect type 2022-12-23 23:18:56 +01:00
Sergio Pedri 25134c7cc3 Bump Win2D to 1.27.0-preview1 2022-12-23 22:37:49 +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 233cd847de Minor code refactoring 2022-12-22 10:56:03 -08:00
Sergio Pedri 63799054c1 Add collection interfaces to PixelShaderEffect<T>.ResourceTextureManagerCollection 2022-12-22 10:56:03 -08:00
Sergio Pedri 7cf711cf59 Add support for dynamic indices to IFixedCountList<T> 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 33dbfba3a6 Add initial IFixedCountList<T> abstraction 2022-12-22 10:56:03 -08:00
Sergio Pedri 4043ba2bf9 Add partial ICanvasEffect support to PixelShaderEffect<T> 2022-12-22 10:56:03 -08:00
Sergio Pedri ad400fbd3b Fix DPI compensation path when no device context is available 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 0855eca967 Dispose native sources when effect is disposed 2022-12-22 10:56:03 -08:00
Sergio Pedri 4954bec5f4 Implement Win2D's ResourceManager::GetOrCreate logic 2022-12-22 10:56:03 -08:00
Sergio Pedri 6f42a3039f Add ICanvasFactoryNative binding type 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 ab998c6228 Make ICanvasImage methods implicitly implemented 2022-12-22 10:56:03 -08:00