コミットグラフ
96 コミット
作成者 SHA1 メッセージ 日付
Sergio Pedri 695051146b Tweak exception message for PixelShaderEffecty initialization 2022-11-21 13:43:47 +01:00
Sergio Pedri 64be81e56f Invert and improve logic for IsShaderSupported API 2022-10-21 05:45:43 -07:00
Sergio Pedri a27c8e0205 Minor code refactoring 2022-10-21 05:45:43 -07:00
Sergio Pedri ca7e001bd6 Check supported feature level when a shader fails to load 2022-10-21 05:45:43 -07:00
Sergio Pedri 7a7f6be038 Reorder type modifiers 2022-10-15 09:10:18 -07:00
Sergio Pedri ce1097e7d9 Add parentheses for clarity where needed (IDE0048) 2022-10-15 09:10:18 -07:00
Sergio Pedri 553c7a4014 Add necessary parentheses and use target-typed new() expressions 2022-10-15 09:10:18 -07:00
Sergio Pedri b2afb88f30 Switch methods to block bodies 2022-10-15 09:10:18 -07:00
Sergio Pedri 9343ac7f7b Add explicit discards to all value returning expressions 2022-10-15 09:10:18 -07:00
Sergio Pedri e94636b80c Run dotnet format whitespace 2022-10-15 09:10:18 -07:00
Sergio Pedri ac7010a730 Fix build errors due to .editorconfig warnings 2022-10-15 09:10:18 -07:00
Sergio Pedri c3baa74116 Enable ComputeSharp.D2D1.Tests multi-targeting 2022-09-20 15:29:44 +02:00
Sergio Pedri 05846d7877 Remove allocation and indirection for built-in transforms 2022-09-06 02:32:58 +02:00
Sergio Pedri d2551a0d19 Cache and reuse D2D1TransformMapper.FactoryOf<T, TMapper> 2022-09-06 02:32:57 +02:00
Sergio Pedri 2c9dad8c98 Add ID2D1TransformMapperFactory<T> interface 2022-09-06 00:37:31 +02:00
Sergio Pedri a781da271b Only use function pointers in properties on .NET 6 2022-09-05 23:42:07 +02:00
Sergio Pedri 2de22e1cb3 Remove unnecessary using definitions 2022-08-20 16:15:40 +02:00
Sergio Pedri 1f21839f6b Enforce multithread factories for resource texture manager RCW 2022-08-19 18:53:39 +02:00
Sergio Pedri a0e0716c23 Add missing Release() call on ID2D1Multithread objects 2022-08-19 16:53:10 +02:00
Sergio Pedri fc6afdbff4 Fix stack overflow when releasing resource texture managers 2022-08-19 16:52:47 +02:00
Sergio Pedri 8f46bd9b2f Fix resource texture manager not storing created resource textures 2022-08-19 16:12:39 +02:00
Sergio Pedri de3ba7bb20 Release previous manager when setting a new one 2022-08-19 15:29:58 +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 ec057ce7e4 Add validation for constant buffer initialization and unit test 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 d33270ea2c Add tests to update 3D resource textures, bug fixes 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 97da012b1b Add null checks when setting a resource texture manager 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 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 fcb783195d Add D2D locking to ID2D1ResourceTextureManagerInternal 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 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