コミットグラフ
3678 コミット
作成者 SHA1 メッセージ 日付
Sergio Pedri bc1cd6ae95 Bump the package version to 2.2 2023-10-08 23:05:01 +02:00
Sergio Pedri 495bd89f40 Add obsolete annotations to APIs removed in 3.0 2023-10-08 23:04:43 +02:00
Sergio Pedri ec6f63e38a Merge pull request #596 from Sergio0694/dev/comptr-refactor
Tweak ComPtr extensions, fix IsSameInstance bug
2023-10-08 22:57:24 +02:00
Sergio Pedri c7e70c8383 Fix wrong IID in IUnknownExtensions.IsSameInstance 2023-10-08 21:24:35 +02:00
Sergio Pedri 352d878f5d Rename ComPtr.Release for consistency 2023-10-08 21:24:07 +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 f37e4446f6 Move ComPtr<T> static helpers to ComPtr type 2023-10-08 21:07:46 +02:00
Sergio Pedri 10ed9aad0d Merge pull request #595 from Sergio0694/dev/fix-deadlock
Fix possible deadlock in ResourceTextureManager.Update
2023-10-08 21:06:22 +02:00
Sergio Pedri 6c218184a3 Remove lock in D2D1ResourceTextureManagerImpl.Release 2023-10-08 20:25:21 +02:00
Sergio Pedri 1a2a1bc22b Add unit test for deadlock when updating resource texture 2023-10-08 19:28:16 +02:00
Sergio Pedri 8ef6b77ab5 Fix deadlock in D2D1ResourceTextureManagerImpl.Update 2023-10-08 19:21:49 +02:00
Sergio Pedri 25015bd050 Merge pull request #594 from Sergio0694/dev/reduce-reflection-size
Reduce rooted metadata due to reflection
2023-10-08 19:21:03 +02:00
Sergio Pedri 0af7f53ae7 Unify all undefined data for HLSL primitive types 2023-10-08 17:59:35 +02:00
Sergio Pedri 98397f9390 Minimize AllocateTypeAssociatedMemory binary increase 2023-10-08 17:59:35 +02:00
Sergio Pedri 392cf5c0a5 Merge pull request #592 from Sergio0694/dev/refactor-pse-shared-state
Refactor global state for built-in pixel shader effects
2023-10-08 17:59:05 +02:00
Sergio Pedri 9fbae2968e Fix a bug in ComPtr<T>.CopyTo when targeting same object 2023-10-08 17:11:36 +02:00
Sergio Pedri cfbfc2886b More code refactoring and style tweaks 2023-10-07 20:28:19 +02:00
Sergio Pedri 2022a73754 Improve PixelShaderEffect.Factory method 2023-10-07 19:57:48 +02:00
Sergio Pedri 73e0367951 Use throw helpers in pixel shader effect, add more checks 2023-10-07 19:30:34 +02:00
Sergio Pedri 11d1ad92cf Use Marshal.GetHRForException everywhere 2023-10-07 12:56:44 +02:00
Sergio Pedri 011accfc26 Add try/catch to pixel shader effect methods 2023-10-07 12:56:44 +02:00
Sergio Pedri 6c75fc32c6 Remove some leftover extensions 2023-10-07 12:56:44 +02:00
Sergio Pedri 4ec0b1e43e Add ComPtr<T>.Release to simplify native objects 2023-10-07 12:56:44 +02:00
Sergio Pedri 3b31b9abe2 Remove unnecessary NativeMemory.Free branches 2023-10-07 12:56:44 +02:00
Sergio Pedri 38f1d37d17 Rename file to match new Globals types 2023-10-05 10:50:15 +02:00
Sergio Pedri 73c492ba2b Refactor shared state for built-in pixel shader effect 2023-10-05 10:50:15 +02:00
Sergio Pedri 3b5eb66d74 Merge pull request #591 from Sergio0694/dev/tweaks
Minor refactoring, remove unnecessary code
2023-10-05 10:31:45 +02:00
Sergio Pedri 73d31317ba Move all exception types to root namespaces 2023-10-04 21:01:16 +02:00
Sergio Pedri d79eee3f7e Remove FormatInterpolatedStringHandler 2023-10-04 21:01:16 +02:00
Sergio Pedri 817c4118ae Remove TryWriteFormatInterpolatedStringHandler 2023-10-04 21:01:16 +02:00
Sergio Pedri 64395f818c Move API calls outside of lock in D2D1EffectXmlFactory 2023-10-04 21:01:16 +02:00
Sergio Pedri afd4649a55 Simplify code in all exception types 2023-10-04 21:01:16 +02:00
Sergio Pedri 3be6767584 Merge pull request #590 from Sergio0694/dev/d2d-source-generator-indented
Rewrite D2DPixelShaderSourceGenerator to be simpler and faster
2023-10-04 01:44:08 +02:00
Sergio Pedri 7679ae2d2b Rewrite D2DPixelShaderSourceGenerator with new infra 2023-10-04 00:31:51 +02:00
Sergio Pedri 1afd5a02d3 Merge pull request #589 from Sergio0694/dev/partial-record-struct
Fix handling partial record struct types, add test
2023-10-04 00:31:01 +02:00
Sergio Pedri d6160e5a12 Fix handling partial record struct types, add test 2023-10-03 23:09:25 +02:00
Sergio Pedri 57ecb78f9f Merge pull request #587 from Sergio0694/dev/generated-marshaller-attribute
Add [D2DGeneratedPixelShaderDescriptor] attribute and use FAWMN
2023-10-03 23:03:39 +02:00
Sergio Pedri 112a4af860 Correctly insert attribute after built-in D2D attributes 2023-10-03 21:14:24 +02:00
Sergio Pedri 1013cfb6f3 Add FixAllProvider and unit tests with multiple diagnostics 2023-10-03 19:22:22 +02:00
Sergio Pedri 610fc5808e Simplify HlslBytecodeInfoKey model 2023-10-03 01:15:04 +02:00
Sergio Pedri 1029ad2622 Add ComputeSharp.D2D1.Tests.SourceGenerators to CI script 2023-10-02 03:22:02 +02:00
Sergio Pedri d992600689 Add tests for missing descriptor attribute code fixer 2023-10-02 03:22:02 +02:00
Sergio Pedri 21f410e7c4 Add blank ComputeSharp.D2D1.Tests.SourceGenerators project 2023-10-02 03:22:02 +02:00
Sergio Pedri 681e48d3fc Automatically add using directive from code fixer 2023-10-02 03:22:02 +02:00
Sergio Pedri c6be57e407 Improve shared .props to manage analyzer projects 2023-10-02 03:22:02 +02:00
Sergio Pedri c64ae73a7f Remove unnecessary token parameter in code fixer 2023-10-02 03:22:02 +02:00
Sergio Pedri a426bb74d7 Update shared .targets to also pack code fixer projects 2023-10-02 03:22:02 +02:00
Sergio Pedri afb467f1ff Add InvalidD2DGeneratedPixelShaderDescriptorAttributeTargetAnalyzer 2023-10-02 03:22:02 +02:00
Sergio Pedri ec77fb7e6f Rename D2D1 generator file names and generated name 2023-10-02 03:22:02 +02:00