コミットグラフ
362 コミット
作成者 SHA1 メッセージ 日付
Sergio Pedri 352d878f5d Rename ComPtr.Release for consistency 2023-10-08 21:24:07 +02:00
Sergio Pedri 62d81ad03f Remove implicit ComPtr<T> operators 2023-10-08 21:07:46 +02:00
Sergio Pedri f37e4446f6 Move ComPtr<T> static helpers to ComPtr type 2023-10-08 21:07:46 +02:00
Sergio Pedri 6c218184a3 Remove lock in D2D1ResourceTextureManagerImpl.Release 2023-10-08 20:25:21 +02:00
Sergio Pedri 8ef6b77ab5 Fix deadlock in D2D1ResourceTextureManagerImpl.Update 2023-10-08 19:21:49 +02:00
Sergio Pedri 98397f9390 Minimize AllocateTypeAssociatedMemory binary increase 2023-10-08 17:59:35 +02:00
Sergio Pedri cfbfc2886b More code refactoring and style tweaks 2023-10-07 20:28:19 +02:00
Sergio Pedri 2022a73754 Improve PixelShaderEffect.Factory method 2023-10-07 19:57:48 +02:00
Sergio Pedri 73e0367951 Use throw helpers in pixel shader effect, add more checks 2023-10-07 19:30:34 +02:00
Sergio Pedri 11d1ad92cf Use Marshal.GetHRForException everywhere 2023-10-07 12:56:44 +02:00
Sergio Pedri 011accfc26 Add try/catch to pixel shader effect methods 2023-10-07 12:56:44 +02:00
Sergio Pedri 4ec0b1e43e Add ComPtr<T>.Release to simplify native objects 2023-10-07 12:56:44 +02:00
Sergio Pedri 3b31b9abe2 Remove unnecessary NativeMemory.Free branches 2023-10-07 12:56:44 +02:00
Sergio Pedri 38f1d37d17 Rename file to match new Globals types 2023-10-05 10:50:15 +02:00
Sergio Pedri 73c492ba2b Refactor shared state for built-in pixel shader effect 2023-10-05 10:50:15 +02:00
Sergio Pedri 73d31317ba Move all exception types to root namespaces 2023-10-04 21:01:16 +02:00
Sergio Pedri 64395f818c Move API calls outside of lock in D2D1EffectXmlFactory 2023-10-04 21:01:16 +02:00
Sergio Pedri afd4649a55 Simplify code in all exception types 2023-10-04 21:01:16 +02:00
Sergio Pedri 933dca22ed Rename to D2DGeneratedPixelShaderDescriptorAttribute 2023-10-01 14:09:43 +02:00
Sergio Pedri 0759ca9f2e Add D2DGeneratedShaderMarshallerAttribute type 2023-10-01 13:56:51 +02:00
Sergio Pedri 0ff34c6275 Remove invalid properties from effect XML text 2023-10-01 12:27:44 +02:00
Sergio Pedri dba631bf3b Rename ArrayPoolBufferWriter type for consistency 2023-10-01 11:33:52 +02:00
Sergio Pedri 277b9a6354 Improve concurrency in D2D1EffectXmlFactory 2023-10-01 01:16:17 +02:00
Sergio Pedri a2a9a07806 Remove leftover PinnedBufferMemoryManager type 2023-10-01 01:05:36 +02:00
Sergio Pedri 3479b3b049 Simplify ArrayPoolBufferWriter type 2023-10-01 01:04:23 +02:00
Sergio Pedri ba7d015a75 Remove leftover methods 2023-10-01 00:56:36 +02:00
Sergio Pedri aae13e1c3e Use centralized XML writer for effect registration 2023-10-01 00:55:43 +02:00
Sergio Pedri 915456139a Add D2D1EffectXmlFactory type 2023-10-01 00:54:05 +02:00
Sergio Pedri 07fe9cceee Add D2D1PixelShader APIs to create shaders from constant buffers 2023-09-30 21:00:42 +02:00
Sergio Pedri 37818d86ac Reorder D2D1PixelShader APIs to match interface 2023-09-30 19:31:26 +02:00
Sergio Pedri 85fd44d863 Rename internal interfaces and update all signatures 2023-09-30 18:38:36 +02:00
Sergio Pedri a873fafdd4 Add D2D1PixelShader.GetResourceTextureCount<T>() and tests 2023-09-30 14:12:49 +02:00
Sergio Pedri ba732ac96a Add ID2D1Shader.ResourceTextureManagerCount property 2023-09-30 14:12:49 +02:00
Sergio Pedri 9d3188cec5 Remove unnecessary D2D1BufferSizeDispatchDataLoader type 2023-09-30 14:12:49 +02:00
Sergio Pedri f9a73d9b09 Add ID2D1Shader.ConstantBufferSize property 2023-09-30 14:12:49 +02:00
Sergio Pedri 44849d5d3e Share prettify logic for FXC error messages with generator 2023-09-28 23:15:29 +02:00
Sergio Pedri 960e0761c5 Improve trimming in D2D1PixelShader.LoadBytecode<T>() 2023-09-28 16:11:46 +02:00
Sergio Pedri 55de6a88c5 Update library to use new HLSL bytecode properties
oops
2023-09-28 16:11:46 +02:00
Sergio Pedri fe49828288 Generate HLSL bytecode as ReadOnlyMemory<T> 2023-09-28 16:11:46 +02:00
Sergio Pedri 423c87cab8 Add and generate ID2D1Shader.CompileOptions 2023-09-28 16:11:15 +02:00
Sergio Pedri 70b9aa9588 Add and generate ID2D1Shader.ShaderProfile 2023-09-28 16:11:15 +02:00
Sergio Pedri 32ceaf3def Switch ID2D1Shader.InputCount to a property 2023-09-28 00:55:28 +02:00
Sergio Pedri 60028ce00c Switch ID2D1Shader.HlslSource to a property 2023-09-28 00:29:23 +02:00
Sergio Pedri ca77bab1f2 Remove ID2D1Shader.GetOutputBuffer method and generation 2023-09-28 00:12:18 +02:00
Sergio Pedri a71c4db7dd Add ID2D1Shader.ChannelDepth property and generate it 2023-09-28 00:12:17 +02:00
Sergio Pedri 81dd2e2b7e Add ID2D1Shader.BufferPrecision property and generate it 2023-09-28 00:12:17 +02:00
Sergio Pedri 0bccf6ec57 Switch ID2D1Shader.PixelOptions to a property 2023-09-28 00:12:17 +02:00
Sergio Pedri 76ae699797 Remove LoadResourceTextureDescriptions<TLoader> API 2023-09-27 22:49:30 +02:00
Sergio Pedri b17b7c70fe Generate resource texture descriptions as ReadOnlyMemory<T> 2023-09-27 22:48:59 +02:00
Sergio Pedri e37fd8e6d9 Remove LoadInputDescriptions<TLoader> API 2023-09-27 21:50:26 +02:00