コミットグラフ
85 コミット
作成者 SHA1 メッセージ 日付
Sergio Pedri 47cafd0145 Add D2D1PixelShaderEffect API to set a resource texture manager 2022-08-15 15:01:16 +02:00
Sergio Pedri ad20d6c2df Add D2D1ResourceTextureManager type 2022-08-15 15:01:16 +02:00
Sergio Pedri 54a060ff01 Fix vtable offsets in ResourceTextureManager implementation 2022-08-15 15:01:16 +02:00
Sergio Pedri a1556d51d9 Add new properties to D2D1PixelShaderEffectProperty 2022-08-15 15:01:16 +02:00
Sergio Pedri 5328c4b39c Update ID2D1Effect registration with new properties 2022-08-15 15:01:16 +02:00
Sergio Pedri f5f094e632 Centralize function pointer accessors in T4 templates 2022-08-15 15:01:16 +02:00
Sergio Pedri 2c9fda857b Move resource texture manager accessors to T4 template 2022-08-15 15:01:16 +02:00
Sergio Pedri 34837b8f6f Remove some unnecessary casts 2022-08-15 15:01:16 +02:00
Sergio Pedri 9115866c53 Add resource texture manager getters and setters 2022-08-15 15:01:15 +02:00
Sergio Pedri 722ecf3287 Partially implement ID2D1ResourceTextureManager 2022-08-15 15:01:15 +02:00
Sergio Pedri aa21ceb0a6 Implement ID2D1ResourceTextureManagerInternal 2022-08-15 15:01:15 +02:00
Sergio Pedri 5221a61048 Add ResourceTextureManager state fields 2022-08-15 15:01:15 +02:00
Sergio Pedri 86138656da Add ResourceTextureManager factory method 2022-08-15 15:01:15 +02:00
Sergio Pedri 06b0d0ee64 Setup vtable for ResourceTextureManager type 2022-08-15 15:01:15 +02:00
Sergio Pedri 2564031ea0 Split ResourceTextureManager logic in partial files 2022-08-15 15:01:15 +02:00
Sergio Pedri 882689cb51 Rename manager to D2D1ResourceTextureManager 2022-08-15 15:01:15 +02:00
Sergio Pedri bb77049d10 Add APIs for D2D1 resource manager interfaces 2022-08-15 15:01:15 +02:00
Sergio Pedri f670089297 Add base D2D1ResourceTextureManager setup 2022-08-15 15:01:15 +02:00
Sergio Pedri 1f64e0e7fc Rename Rank to Dimensions in D2D1ResourceTextureDescription 2022-08-10 22:43:29 +02:00
Sergio Pedri a854aead17 Add D2D1PixelShader.GetResourceTextureDescriptions API 2022-08-08 15:45:44 +02:00
Sergio Pedri 9199e0c6b9 Add D2D1ResourceTextureDescription type 2022-08-08 15:45:44 +02:00
Sergio Pedri b51b002a3a Cleanup the D2D1 generator constant buffer code
Also bumps the maximum constant buffer size
2022-08-08 01:33:38 +02:00
Sergio Pedri a6209491c9 Fix D2D1PixelShader.GetConstantBuffer with stateless shaders 2022-07-24 13:27:46 +02:00
Sergio Pedri aa9ed772ba Add D2D1PixelShader.GetConstantBufferSize<T>() API 2022-06-17 11:52:50 +02:00
Sergio Pedri 3a68b5b38a Add Span<byte> GetConstantBuffer APIs 2022-06-11 13:48:06 +02:00
Sergio Pedri 6dcb61ceb9 Fix incorrect memory allocations in PixelShaderEffect 2022-06-05 12:48:09 +02:00
Sergio Pedri 5e94c4b3ad Add missing ID2D1DrawInfo::AddRef calls 2022-05-28 13:55:33 +02:00
Sergio Pedri 745f23a3a1 Add missing ArrayPool<byte>.Return-s in D2D1ShaderCompiler 2022-05-28 13:48:59 +02:00
Sergio Pedri 48b6b4245e Return better errors for shaders requiring doubles when not supported
Closes #288
2022-05-24 01:57:32 +02:00
Sergio Pedri 7b02a1156e Skip recompilation in D2D1ReflectionServices APIs 2022-05-24 01:28:32 +02:00
Sergio Pedri 91d577fb7d Add OutOfMemoryException catch in PSE factory
Closes #285
2022-05-24 01:28:16 +02:00
Sergio Pedri f49eabcb73 Add D2D1PixelShaderEffectProperty type
Closes #237
2022-05-24 00:32:53 +02:00
Sergio Pedri 2fdbdafab8 Improve D2D1CompileOptions handling in LoadBytecode<T> APIs 2022-05-23 14:31:07 +02:00
Sergio Pedri e22d076dd3 Add D2D1PixelShader.LoadBytecode<T>(D2D1CompileOptions options) 2022-05-23 00:16:08 +02:00
Sergio Pedri d75993107a Wire up [D2D1CompileOptions] to all generated code and public APIs
Also removes the diagnostics for invalid linking setup
2022-05-22 15:50:28 +02:00
Sergio Pedri b4b8b76d2f Wire up [D2D1CompileOptions] to [D2D1EmbeddedBytecode] 2022-05-22 01:50:14 +02:00
Sergio Pedri dd5e1b6262 Rename and move D2D1ShaderCompilerOptions enum 2022-05-22 01:10:59 +02:00
Sergio Pedri fe49c2870a Tweak parameter names in D2D1ShaderCompiler APIs 2022-05-21 13:03:03 +02:00
Sergio Pedri e7bdf19bf2 Add public D2D1ShaderCompiler API 2022-05-21 01:40:31 +02:00
Sergio Pedri ffcfcb3471 Ensure function exports for shaders don't specify a target 2022-05-21 00:24:38 +02:00
Sergio Pedri e5c24bc9d7 Code refactoring in internal D3DCompiler APIs 2022-05-20 21:47:07 +02:00
Sergio Pedri ec1798cbe3 Rename and tweak D2D1PixelOptions type 2022-05-08 21:50:17 +02:00
Sergio Pedri a70ae6af38 Enable pixel options info in D2D1PixelShaderEffect 2022-05-08 21:50:17 +02:00
Sergio Pedri 6fbdef8ce4 Add D2D1 pixel option types and APIs 2022-05-08 21:50:17 +02:00
Sergio Pedri 6a83c6827d Rename input description LevelOfDetailCount parameter
Closes #270
2022-05-08 21:49:52 +02:00
Sergio Pedri 69448a8d34 Enable input descriptions info in D2D1PixelShaderEffect 2022-05-08 18:40:26 +02:00
Sergio Pedri 7a5386a55e Add D2D1PixelShader.GetInputDescriptions API 2022-05-08 18:40:26 +02:00
Sergio Pedri 54d7cb53e2 Add D2D1 input description types 2022-05-08 18:40:25 +02:00
Sergio Pedri 966f5ee06d Enable output buffer configuration in D2D1PixelShaderEffect 2022-05-07 22:34:27 +02:00
Sergio Pedri c554f56bfa Add ID2D1Shader and D2D1PixelShader output buffer APIs 2022-05-07 21:24:12 +02:00