コミットグラフ
3618 コミット
作成者 SHA1 メッセージ 日付
Sergio Pedri 0ff34c6275 Remove invalid properties from effect XML text 2023-10-01 12:27:44 +02:00
Sergio Pedri 678f197b91 Merge pull request #585 from Sergio0694/dev/shared-effect-xml
Unify effect XML building logic, optimize on .NET 6
2023-10-01 12:27:19 +02:00
Sergio Pedri dba631bf3b Rename ArrayPoolBufferWriter type for consistency 2023-10-01 11:33:52 +02:00
Sergio Pedri 277b9a6354 Improve concurrency in D2D1EffectXmlFactory 2023-10-01 01:16:17 +02:00
Sergio Pedri a2a9a07806 Remove leftover PinnedBufferMemoryManager type 2023-10-01 01:05:36 +02:00
Sergio Pedri 3479b3b049 Simplify ArrayPoolBufferWriter type 2023-10-01 01:04:23 +02:00
Sergio Pedri ba7d015a75 Remove leftover methods 2023-10-01 00:56:36 +02:00
Sergio Pedri aae13e1c3e Use centralized XML writer for effect registration 2023-10-01 00:55:43 +02:00
Sergio Pedri 915456139a Add D2D1EffectXmlFactory type 2023-10-01 00:54:05 +02:00
Sergio Pedri b19a517d56 Merge pull request #584 from Sergio0694/dev/create-from-buffer-apis
Add D2D1PixelShader.CreateFromConstantBuffer<T>() APIs
2023-09-30 21:48:03 +02:00
Sergio Pedri a02a199236 Add shader constant buffer round-trip unit tests 2023-09-30 21:00:42 +02:00
Sergio Pedri 07fe9cceee Add D2D1PixelShader APIs to create shaders from constant buffers 2023-09-30 21:00:42 +02:00
Sergio Pedri bba4db7cdb Merge pull request #583 from Sergio0694/dev/standalone-row-accessors
Remove matrix types row accessors for generated code
2023-09-30 20:56:23 +02:00
Sergio Pedri 37818d86ac Reorder D2D1PixelShader APIs to match interface 2023-09-30 19:31:26 +02:00
Sergio Pedri 29d3be6b7b Add unit test for constant buffer with nested structures 2023-09-30 19:31:26 +02:00
Sergio Pedri 9285cf8294 Update constant buffer codegen to be self-contained 2023-09-30 19:31:26 +02:00
Sergio Pedri bf267a1f8b Remove implementation of HLSL matrix row accessors 2023-09-30 19:31:26 +02:00
Sergio Pedri e3407bfe7d Merge pull request #582 from Sergio0694/dev/d2d1-shader-descriptor
Refactor interface and introduce new ID2D1PixelShaderDescriptor<T>
2023-09-30 19:28:34 +02:00
Sergio Pedri c9cb83724a Rename and update D2D1 generator files 2023-09-30 18:38:36 +02:00
Sergio Pedri 0fb876fde0 Update Win2D method signatures in all projects 2023-09-30 18:38:36 +02:00
Sergio Pedri 76df248427 Update constant buffer marshalling methods in generator 2023-09-30 18:38:36 +02:00
Sergio Pedri 1a94d017bb Update generator to implement ID2D1PixelShaderDescriptor<T> 2023-09-30 18:38:36 +02:00
Sergio Pedri 85fd44d863 Rename internal interfaces and update all signatures 2023-09-30 18:38:36 +02:00
Sergio Pedri 2dcde8748e Merge pull request #581 from Sergio0694/dev/additional-numeric-properties
Add new numeric properties to ID2D1Shader
2023-09-30 16:15:16 +02:00
Sergio Pedri a873fafdd4 Add D2D1PixelShader.GetResourceTextureCount<T>() and tests 2023-09-30 14:12:49 +02:00
Sergio Pedri ba732ac96a Add ID2D1Shader.ResourceTextureManagerCount property 2023-09-30 14:12:49 +02:00
Sergio Pedri 9d3188cec5 Remove unnecessary D2D1BufferSizeDispatchDataLoader type 2023-09-30 14:12:49 +02:00
Sergio Pedri f9a73d9b09 Add ID2D1Shader.ConstantBufferSize property 2023-09-30 14:12:49 +02:00
Sergio Pedri 8de575ce51 Merge pull request #580 from Sergio0694/dev/indented-text-writer
Switch D2D1 generator to use indented text writer
2023-09-30 14:10:58 +02:00
Sergio Pedri fe385da3a0 Fix two issues with generated dispatching logic 2023-09-30 03:20:00 +02:00
Sergio Pedri 1be2ae1fc9 Remove unused methods 2023-09-30 01:34:04 +02:00
Sergio Pedri 4917d67d7d Move all generated types into private namespace 2023-09-30 01:34:04 +02:00
Sergio Pedri 3439d3ec05 Add ImmutableHashSetBuilder<T> type 2023-09-30 01:34:04 +02:00
Sergio Pedri 648f6e5c33 Add attributes to generated types and members 2023-09-30 01:34:04 +02:00
Sergio Pedri eba861e20e Add and adopt IndentedTextWriterExtensions 2023-09-30 01:34:04 +02:00
Sergio Pedri 5d859266d8 Fully enable D2D1 generator to run on indented text writer 2023-09-30 01:34:04 +02:00
Sergio Pedri 6accd17c9f Switch D2D1 generation methods to use indented writer 2023-09-30 01:34:04 +02:00
Sergio Pedri bc1fc17b21 Add new WriteByteArrayInitializationExpressions API 2023-09-30 01:34:04 +02:00
Sergio Pedri 117bdc2ab3 Add Advance APIs to builder and writer types 2023-09-30 01:34:04 +02:00
Sergio Pedri 8daf482eb8 Add WriteInterpolatedStringHandler for indented writer 2023-09-30 01:34:04 +02:00
Sergio Pedri b4cfad5554 Add IndentedTextWriter APIs to write with no new lines 2023-09-30 01:34:03 +02:00
Sergio Pedri bc77ff3392 Add IndentedTextWriter type 2023-09-30 01:34:03 +02:00
Sergio Pedri 34a7d5b444 Merge pull request #579 from Sergio0694/dev/dynamic-cache
Add DynamicCache<,> type to cache HLSL bytecode results
2023-09-29 15:37:34 +02:00
Sergio Pedri a302521f94 Adopt DynamicCache<,> for HlslBytecodeInfo values 2023-09-29 10:11:24 +02:00
Sergio Pedri e2ce0a6079 Add cancellation support to DynamicCache<,> 2023-09-29 10:11:24 +02:00
Sergio Pedri 90896d5574 Handle Equals calls with arguments in any order 2023-09-29 10:11:23 +02:00
Sergio Pedri 2122efcc25 Implement auto-cleanup for DynamicCache<K, V> 2023-09-29 10:11:23 +02:00
Sergio Pedri 86fa77e77e Add DynamicCache<TKey, TValue> type 2023-09-29 10:11:23 +02:00
Sergio Pedri 3e47704c80 Merge pull request #578 from Sergio0694/dev/unified-d2d1-generator
Unify D2D1 source generator logic and emit a single file
2023-09-29 10:11:01 +02:00
Sergio Pedri 2c855dd1f3 Execute missing source fixup for HLSL bytecode 2023-09-29 02:22:59 +02:00