コミットグラフ
46 コミット
作成者 SHA1 メッセージ 日付
Sergio Pedri 00d171cdb0 Rent device context to create DPI compensaton effect 2023-02-24 00:56:26 +01:00
Sergio Pedri dc4195a0d7 Remove unnecessary .csproj/.shproj nodes and comments 2023-01-22 00:11:40 +01:00
Sergio Pedri a09a817b5c Centralize polyfills in a single ComputeSharp.NetStandard project 2023-01-15 15:33:54 +01:00
Sergio Pedri ad400fbd3b Fix DPI compensation path when no device context is available 2022-12-22 10:56:03 -08:00
Sergio Pedri 2611e9b1d1 Add missing WinRT bindings 2022-12-22 10:56:03 -08:00
Sergio Pedri d8bdd89617 Port CanvasEffect::ApplyDpiCompensation logic 2022-12-22 10:56:03 -08:00
Sergio Pedri 5c59b021c8 Add effect registration check for E_NOTFOUND 2022-12-22 10:56:03 -08:00
Sergio Pedri a91ed7b70d Implement PixelShaderEffect<T>.SetSource 2022-12-22 10:56:03 -08:00
Sergio Pedri 6628f4d205 Implement PixelShaderEffect<T>.GetSource(int) 2022-12-22 10:56:03 -08:00
Sergio Pedri bb6d9a99ec Skip effect registrations when not needed 2022-12-22 10:56:03 -08:00
Sergio Pedri e7273d23c6 Add CacheOutput and BufferPrecision properties 2022-12-22 10:56:03 -08:00
Sergio Pedri 139ad8ed62 Initial implementation port of ICanvasImageInterop from Win2D 2022-12-22 10:56:03 -08:00
Sergio Pedri 8580dceeef Add IDirect3DDxgiInterfaceAccess and ID2D1Device1 2022-12-22 10:56:03 -08:00
Sergio Pedri 7391f674f2 Add initial PixelShaderEffect<T> implementation 2022-12-22 10:56:03 -08:00
Sergio Pedri 2481bc7e0a Complete D2D1DrawInfoUpdateContextImpl implementation 2022-11-29 22:34:05 +01:00
Sergio Pedri abc9f00341 Set LF endings in .editorconfig files 2022-11-14 22:56:56 +01:00
Sergio Pedri 4d200f04e8 Switch TerraFX fork to file-scoped namespaces 2022-10-23 18:46:27 +02:00
Sergio Pedri ca7e001bd6 Check supported feature level when a shader fails to load 2022-10-21 05:45:43 -07:00
Sergio Pedri 4efa9b6168 Add D3DFeatureLevel info to D2D1ShaderInfo type 2022-10-21 05:45:43 -07:00
Sergio Pedri 1e34a0c1ac Remove end_of_line from .editorconfig files 2022-10-15 09:10:18 -07:00
Sergio Pedri f340ad0201 Enable AnalysisLevelStyle to 7-all in shared .props 2022-10-15 09:10:18 -07:00
Sergio Pedri 1c26d37bc3 Fix nested .editorconfig files and unit test IDE warnings 2022-10-15 09:10:18 -07:00
Sergio Pedri c325f7415c Exclude TerraFX.Interop.Windows polyfills from .editorconfig 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 995e19ba3b Remove function pointer parameter from ID2D1Factory1 API below .NET 6 2022-09-05 23:42:07 +02:00
Sergio Pedri 1f21839f6b Enforce multithread factories for resource texture manager RCW 2022-08-19 18:53:39 +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 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 47cafd0145 Add D2D1PixelShaderEffect API to set a resource texture manager 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 34837b8f6f Remove some unnecessary casts 2022-08-15 15:01:16 +02:00
Sergio Pedri 73dc42c36c Workaround for field marshalling on UWP
See https://github.com/dotnet/runtime/issues/37295
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 85f44c58d3 Suppress two warnings in polyfill types 2022-08-15 15:01:15 +02:00
Sergio Pedri ef041a8fc2 Add missing D2D1 polyfills 2022-08-15 15:01:15 +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 69448a8d34 Enable input descriptions info in D2D1PixelShaderEffect 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 0ad252470e Update default draw transform mapper logic 2022-05-07 20:45:30 +02:00
Sergio Pedri 5390d8b27c Rename package to ComputeSharp.D2D1
Also rename D2D1 to D2D for consistency with HLSL, and tweak namespaces
2022-04-24 21:04:30 +02:00