コミットグラフ
2579 コミット
作成者 SHA1 メッセージ 日付
Sergio Pedri ca6d535720 Merge pull request #352 from Sergio0694/dev/registration-blob-tweaks
D2D1 registration blob tweaks
2022-08-16 18:29:34 +02:00
Sergio Pedri 6ae36696ac Add D2D1EffectRegistrationData unit test 2022-08-16 17:16:48 +02:00
Sergio Pedri c65ce14524 Rename Buffer property to ConstantBuffer 2022-08-16 17:16:42 +02:00
Sergio Pedri cb79ad476a Merge pull request #347 from Sergio0694/dev/d2d1-resource-texture-manager
Add D2D1 resource texture infrastructure
2022-08-16 15:37:47 +02:00
Sergio Pedri ea2b314267 Support ID2D1Effect::GetValueSize for constant buffer, add unit test 2022-08-16 14:05:25 +02:00
Sergio Pedri ecb28e2382 Add missing validation when initializing managers 2022-08-16 13:55:38 +02:00
Sergio Pedri 44bf64741a Update parameter names for clarity 2022-08-16 13:52:31 +02:00
Sergio Pedri 28ed19c349 Improve D2D1ResourceTextureManager XML docs 2022-08-16 13:47:25 +02:00
Sergio Pedri ec057ce7e4 Add validation for constant buffer initialization and unit test 2022-08-15 15:01:20 +02:00
Sergio Pedri b866572173 Add unit test for null resource texture manager validation 2022-08-15 15:01:20 +02:00
Sergio Pedri 6de0ca24bf Fix loading of resource textures when rendering effect 2022-08-15 15:01:20 +02:00
Sergio Pedri d5901eb22b Handle optional actualSize in D2D1_PROPERTY_BINDING.setFunction 2022-08-15 15:01:20 +02:00
Sergio Pedri fe3c092090 Update incorrect delegate type name 2022-08-15 15:01:20 +02:00
Sergio Pedri 5c9859fe21 Clarify comment in D2D1ResourceTextureManager 2022-08-15 15:01:20 +02:00
Sergio Pedri 394db47f2c Tweak D2D1ResourceTextureManager XML docs 2022-08-15 15:01:20 +02:00
Sergio Pedri fe33dbdcea Make resource texture index parameters clearer 2022-08-15 15:01:20 +02:00
Sergio Pedri d33270ea2c Add tests to update 3D resource textures, bug fixes 2022-08-15 15:01:20 +02:00
Sergio Pedri 0ab4e331c1 Add tests to update 2D resource textures 2022-08-15 15:01:20 +02:00
Sergio Pedri edfed9359b Add tests to update 1D resource textures, bug fixes 2022-08-15 15:01:20 +02:00
Sergio Pedri bc90c87837 Minor tweaks and improvements to D2D1ResourceTextureManager 2022-08-15 15:01:20 +02:00
Sergio Pedri 3c2de6c285 Add ID2D1ResourceTextureManager::Initialize dimensions parameter 2022-08-15 15:01:20 +02:00
Sergio Pedri e29a3fad04 Add null checks in public API parameters, add tests 2022-08-15 15:01:19 +02:00
Sergio Pedri 97da012b1b Add null checks when setting a resource texture manager 2022-08-15 15:01:19 +02:00
Sergio Pedri d3a66496c6 Add parameter validation in D2D1ResourceTextureManager 2022-08-15 15:01:19 +02:00
Sergio Pedri 3c44e09304 First draft of partial staging buffer update 2022-08-15 15:01:19 +02:00
Sergio Pedri f2647c1d1f Add ID2D1ResourceTextureManager.Update validation and initialization
Still missing partial updates on existing staging buffer
2022-08-15 15:01:19 +02:00
Sergio Pedri 9334a5e1ce Add SetResourceTextureManagerForD2D1Effect RCW overload 2022-08-15 15:01:19 +02:00
Sergio Pedri 3558834741 Add unit tests for D2D1ResourceTextureManager RCW 2022-08-15 15:01:19 +02:00
Sergio Pedri b39046d362 Add parameter validation to ID2D1ResourceTextureManager.Initialize 2022-08-15 15:01:19 +02:00
Sergio Pedri 8c59086ee7 Add RCW support to D2D1ResourceTextureManager 2022-08-15 15:01:19 +02:00
Sergio Pedri 4764e285c7 Fix memory leak in D2D1ResourceTextureManagerImpl.Release() 2022-08-15 15:01:19 +02:00
Sergio Pedri d70ce4b618 Rename CCW to D2D1ResourceTextureManagerImpl 2022-08-15 15:01:19 +02:00
Sergio Pedri 5b81e46e34 Fix failing D2D1 tests due to missing directory 2022-08-15 15:01:19 +02:00
Sergio Pedri cd3c696c4e Switch test helpers from WIC to ImageSharp 2022-08-15 15:01:19 +02:00
Sergio Pedri fcb783195d Add D2D locking to ID2D1ResourceTextureManagerInternal 2022-08-15 15:01:18 +02:00
Sergio Pedri bdd4839f55 Add ID2D1EffectContextExtensions type and polyfills 2022-08-15 15:01:18 +02:00
Sergio Pedri e04887a3e6 Fix a typo in a folder name 2022-08-15 15:01:18 +02:00
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 c340f6ae44 Add unit test for manager initialized before assigning to effect 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 9e0eeeedca Fix missing null-termination in D2D entry points 2022-08-15 15:01:18 +02:00
Sergio Pedri 1a3040060e Add end to end test with 3D resource texture 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 47dfbf4718 Add end to end test with 2D resource texture 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 ddc625fe13 Fix incorrect diagnostic in resource texture index validation 2022-08-15 15:01:17 +02:00
Sergio Pedri 5af6764235 Add resource texture manager basic COM tests 2022-08-15 15:01:17 +02:00