コミットグラフ
55 コミット
作成者 SHA1 メッセージ 日付
Sergio Pedri f41dd507c8 Minor code tweaks 2022-08-15 15:01:18 +02:00
Sergio Pedri ced3fdc78b Make resource texture manager thread safe 2022-08-15 15:01:18 +02:00
Sergio Pedri 45bdc6d426 Fix initializing resource texture manager before assigning to effect 2022-08-15 15:01:18 +02:00
Sergio Pedri 3074a78804 Fix memory leak in ID2D1ResourceTextureManagerInternal 2022-08-15 15:01:18 +02:00
Sergio Pedri 97cd126611 Remove unnecessary code in effect initialization 2022-08-15 15:01:18 +02:00
Sergio Pedri e611e13ef5 Simplify D2D1ResourceTextureManager.Create code 2022-08-15 15:01:17 +02:00
Sergio Pedri fd0729808c Bug fixes in the built-in effect and resource texture manager logic 2022-08-15 15:01:17 +02:00
Sergio Pedri 48b41642d3 Fix encoded guids for resource manager types 2022-08-15 15:01:17 +02:00
Sergio Pedri 41b8e64da7 Use ComPtr<T> for ID2D1ResourceTextureManager logic 2022-08-15 15:01:17 +02:00
Sergio Pedri 5e9ab87500 Improve validation for constant buffer properties 2022-08-15 15:01:17 +02:00
Sergio Pedri 570dc6134f Wire up resource textures in ID2D1EffectImpl logic 2022-08-15 15:01:17 +02:00
Sergio Pedri b7e09b60d3 Implement ID2D1Effect logic to store and get/update managers 2022-08-15 15:01:17 +02:00
Sergio Pedri 46189a898a Add ResourceTextureManagerBuffer type 2022-08-15 15:01:17 +02:00
Sergio Pedri d02f8f3a9f Update code to use new COM interface binding ttypes 2022-08-15 15:01:17 +02:00
Sergio Pedri 7f80a7270f Add bindings for internal COM interfaces 2022-08-15 15:01:16 +02:00
Sergio Pedri b1ce15feb8 Update ResourceTextureManager API names 2022-08-15 15:01:16 +02:00
Sergio Pedri 4d0549078b Pass resource texture info to built-in ID2D1Effect object 2022-08-15 15:01:16 +02:00
Sergio Pedri b2b445d3a8 Store ID2D1EffectContext in the ID2D1Effect object 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 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 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 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 48b6b4245e Return better errors for shaders requiring doubles when not supported
Closes #288
2022-05-24 01:57:32 +02:00
Sergio Pedri 91d577fb7d Add OutOfMemoryException catch in PSE factory
Closes #285
2022-05-24 01:28:16 +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 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 966f5ee06d Enable output buffer configuration in D2D1PixelShaderEffect 2022-05-07 22:34:27 +02:00
Sergio Pedri f2be773ab6 Fix logic for MapInputRectsToOutputRect with simple inputs 2022-05-07 20:58:54 +02:00
Sergio Pedri 0ad252470e Update default draw transform mapper logic 2022-05-07 20:45:30 +02:00
Sergio Pedri 295cdb1c8d Rename D2D1InteropServices to D2D1PixelShader 2022-05-07 03:19:46 +02:00
Sergio Pedri ad22c55463 Rename D2D1InteropServices APIs for consistency 2022-04-28 00:56:09 +02:00
Sergio Pedri d220c2eeb1 Remove Type.GetCustomAttributes use from PixelShaderEffect 2022-04-28 00:03:31 +02:00
Sergio Pedri 2034866db8 Remove shader from secondary ID2D1DrawTransformMapper APIs 2022-04-27 23:39:08 +02:00
Sergio Pedri 7651ad0ef3 Minor code tweaks 2022-04-24 21:04:32 +02:00
Sergio Pedri 4aeb97113a Use infinite RECT for default mapping with 0 inputs 2022-04-24 21:04:32 +02:00
Sergio Pedri 58cba3f6d1 Minor code refactoring 2022-04-24 21:04:32 +02:00
Sergio Pedri 056128054a Remove [FixedAddressValueType] use 2022-04-24 21:04:32 +02:00