コミットグラフ
193 コミット
作成者 SHA1 メッセージ 日付
Sergio Pedri d85d838121 Use zero-alloc UTF8 int formatter on .NET 6 2022-09-16 10:38:38 -07:00
Sergio Pedri a34d70d280 Move d2d1effecthelpers.hlsli header to UTF8 string literal 2022-09-16 10:38:38 -07:00
Sergio Pedri 2cffb02f9f Fix build errors in ComputeSharp.D2D1
Adjust scoping rules for ArrayPoolBinaryWriter
2022-09-16 10:38:38 -07:00
Sergio Pedri 8e257d80eb Add null checks for D2D1TransformMapperFactory<T> parameters 2022-09-06 07:18:38 +02:00
Sergio Pedri b4a0f0a0af Reduce generic type instantiations 2022-09-06 03:25:49 +02:00
Sergio Pedri 01c5c39be8 Handle overflows in D2D1AffineTransformMapperFactory<T> 2022-09-06 03:22:17 +02:00
Sergio Pedri dd0480ab34 Minor code tweaks in Rectangle64.Intersect 2022-09-06 03:22:16 +02:00
Sergio Pedri f6212cbd88 Remove nullability suppressions in ArrayPoolBinaryWriter 2022-09-06 02:32:58 +02:00
Sergio Pedri 56af0d27c3 Minor tweaks to parameter names 2022-09-06 02:32:58 +02:00
Sergio Pedri 05846d7877 Remove allocation and indirection for built-in transforms 2022-09-06 02:32:58 +02:00
Sergio Pedri d127a9f556 Remove one unnecessary type parameter 2022-09-06 02:32:58 +02:00
Sergio Pedri fe11643c57 Minor code tweaks to the built-in transform mappers 2022-09-06 02:32:58 +02:00
Sergio Pedri a152f9322e Fix affine transform logic 2022-09-06 02:32:57 +02:00
Sergio Pedri 46828b62da Adjust namespaces 2022-09-06 02:32:57 +02:00
Sergio Pedri c84b65fa70 Remove unnecessary APIs 2022-09-06 02:32:57 +02:00
Sergio Pedri f2c7ebdcff Add D2D1TransformMapperFactory<T>.Transform APIs 2022-09-06 02:32:57 +02:00
Sergio Pedri d2551a0d19 Cache and reuse D2D1TransformMapper.FactoryOf<T, TMapper> 2022-09-06 02:32:57 +02:00
Sergio Pedri f039cdbb82 Add public D2D1TransformMapperFactory<T> type 2022-09-06 02:32:57 +02:00
Sergio Pedri 46c6643cec Add D2D1InflateTransformMapperFactory<T> type 2022-09-06 02:32:57 +02:00
Sergio Pedri d2f19f7c3f Add base types for built-in transform mappers 2022-09-06 02:32:56 +02:00
Sergio Pedri 2c9dad8c98 Add ID2D1TransformMapperFactory<T> interface 2022-09-06 00:37:31 +02:00
Sergio Pedri 10d53058ed Use explicit fields in interop types to avoid MCG errors 2022-09-05 23:42:07 +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 1738f36455 Rename [D2DEmbeddedBytecode] to [D2DShaderProfile] 2022-08-18 14:26:10 +02:00
Sergio Pedri 51f2642e80 Add [StringSyntax] to [D2DPixelShaderSource] parameter 2022-08-18 14:26:09 +02:00
Sergio Pedri 2aa214876c Add StringSyntaxAttribute polyfill 2022-08-18 14:26:09 +02:00
Sergio Pedri 06e5a61af7 Add D2DPixelShaderSourceAttribute type 2022-08-18 14:26:09 +02:00
Sergio Pedri c65ce14524 Rename Buffer property to ConstantBuffer 2022-08-16 17:16:42 +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 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 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