Update namespaces in ComputeSharp.D2D1

このコミットが含まれているのは:
Sergio Pedri committed 2023-10-18 12:08:17 +02:00
1 親 37f53ce8d2
コミット ff071ced69
64ファイル変更
+50 -91

検索条件に一致するファイルはありません

+1 -1
ファイルの表示
@@ -1,7 +1,7 @@
#if SOURCE_GENERATOR
using static Windows.Win32.Graphics.Direct2D.D2D1_BUFFER_PRECISION;
#else
using static TerraFX.Interop.DirectX.D2D1_BUFFER_PRECISION;
using static ComputeSharp.Win32.D2D1_BUFFER_PRECISION;
#endif
namespace ComputeSharp.D2D1;
+1 -1
ファイルの表示
@@ -1,7 +1,7 @@
#if SOURCE_GENERATOR
using static Windows.Win32.Graphics.Direct2D.D2D1_CHANNEL_DEPTH;
#else
using static TerraFX.Interop.DirectX.D2D1_CHANNEL_DEPTH;
using static ComputeSharp.Win32.D2D1_CHANNEL_DEPTH;
#endif
namespace ComputeSharp.D2D1;
+1 -1
ファイルの表示
@@ -3,7 +3,7 @@ using System;
using D3DCOMPILE = Windows.Win32.PInvoke;
#else
using ComputeSharp.D2D1.Interop;
using TerraFX.Interop.DirectX;
using ComputeSharp.Win32;
#pragma warning disable IDE0004
#endif
+1 -1
ファイルの表示
@@ -1,7 +1,7 @@
#if SOURCE_GENERATOR
using static Windows.Win32.Graphics.Direct2D.D2D1_FILTER;
#else
using static TerraFX.Interop.DirectX.D2D1_FILTER;
using static ComputeSharp.Win32.D2D1_FILTER;
#endif
namespace ComputeSharp.D2D1;
+1 -1
ファイルの表示
@@ -2,7 +2,7 @@ using System;
#if SOURCE_GENERATOR
using static Windows.Win32.Graphics.Direct2D.D2D1_PIXEL_OPTIONS;
#else
using static TerraFX.Interop.DirectX.D2D1_PIXEL_OPTIONS;
using static ComputeSharp.Win32.D2D1_PIXEL_OPTIONS;
#endif
namespace ComputeSharp.D2D1;
+1 -1
ファイルの表示
@@ -1,5 +1,5 @@
using System.Runtime.CompilerServices;
using TerraFX.Interop.Windows;
using ComputeSharp.Win32;
namespace ComputeSharp.D2D1.Extensions;
+1 -1
ファイルの表示
@@ -1,7 +1,7 @@
using System.ComponentModel;
using System.Diagnostics;
using System.Runtime.CompilerServices;
using TerraFX.Interop.Windows;
using ComputeSharp.Win32;
namespace ComputeSharp.D2D1.Extensions;
+1 -1
ファイルの表示
@@ -1,7 +1,7 @@
using System;
using System.Drawing;
using System.Runtime.CompilerServices;
using TerraFX.Interop.Windows;
using ComputeSharp.Win32;
namespace ComputeSharp.D2D1.Extensions;
+1 -1
ファイルの表示
@@ -1,4 +1,4 @@
using static TerraFX.Interop.DirectX.D2D1_EXTEND_MODE;
using static ComputeSharp.Win32.D2D1_EXTEND_MODE;
namespace ComputeSharp.D2D1;
+1 -2
ファイルの表示
@@ -3,8 +3,7 @@ using System.Runtime.CompilerServices;
using ComputeSharp.D2D1.Descriptors;
using ComputeSharp.D2D1.Shaders.Loaders;
using ComputeSharp.D2D1.Shaders.Translation;
using TerraFX.Interop.DirectX;
using TerraFX.Interop.Windows;
using ComputeSharp.Win32;
namespace ComputeSharp.D2D1.Interop;
+1 -2
ファイルの表示
@@ -9,8 +9,7 @@ using ComputeSharp.D2D1.Shaders.Interop.Buffers;
using ComputeSharp.D2D1.Shaders.Interop.Effects.ResourceManagers;
using ComputeSharp.D2D1.Shaders.Interop.Effects.TransformMappers;
using ComputeSharp.D2D1.Shaders.Loaders;
using TerraFX.Interop.DirectX;
using TerraFX.Interop.Windows;
using ComputeSharp.Win32;
namespace ComputeSharp.D2D1.Interop;
+1 -2
ファイルの表示
@@ -2,8 +2,7 @@ using System;
using System.Runtime.CompilerServices;
using ComputeSharp.D2D1.Descriptors;
using ComputeSharp.D2D1.Extensions;
using TerraFX.Interop.DirectX;
using TerraFX.Interop.Windows;
using ComputeSharp.Win32;
namespace ComputeSharp.D2D1.Interop;
+1 -2
ファイルの表示
@@ -3,8 +3,7 @@ using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using ComputeSharp.D2D1.Extensions;
using ComputeSharp.D2D1.Shaders.Interop.Effects.ResourceManagers;
using TerraFX.Interop.DirectX;
using TerraFX.Interop.Windows;
using ComputeSharp.Win32;
namespace ComputeSharp.D2D1.Interop;
+1 -2
ファイルの表示
@@ -2,8 +2,7 @@ using System;
using System.Buffers;
using System.Text;
using ComputeSharp.D2D1.Shaders.Translation;
using TerraFX.Interop.DirectX;
using TerraFX.Interop.Windows;
using ComputeSharp.Win32;
namespace ComputeSharp.D2D1.Interop;
+1 -1
ファイルの表示
@@ -5,7 +5,7 @@ using System.Runtime.InteropServices;
using ComputeSharp.D2D1.Descriptors;
using ComputeSharp.D2D1.Interop.Effects;
using ComputeSharp.D2D1.Shaders.Interop.Effects.TransformMappers;
using TerraFX.Interop.Windows;
using ComputeSharp.Win32;
#pragma warning disable CA1033
+1 -1
ファイルの表示
@@ -1,4 +1,4 @@
using static TerraFX.Interop.DirectX.D3D_FEATURE_LEVEL;
using static ComputeSharp.Win32.D3D_FEATURE_LEVEL;
namespace ComputeSharp.D2D1.Interop;
+1 -2
ファイルの表示
@@ -2,8 +2,7 @@ using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using ComputeSharp.D2D1.Descriptors;
using TerraFX.Interop.DirectX;
using TerraFX.Interop.Windows;
using ComputeSharp.Win32;
namespace ComputeSharp.D2D1.Interop.Effects;
@@ -2,8 +2,7 @@ using System;
using System.Runtime.InteropServices;
using ComputeSharp.D2D1.Extensions;
using ComputeSharp.D2D1.Shaders.Interop.Effects.TransformMappers;
using TerraFX.Interop.DirectX;
using TerraFX.Interop.Windows;
using ComputeSharp.Win32;
namespace ComputeSharp.D2D1.Interop.Effects;
@@ -3,8 +3,7 @@ using System.Runtime.InteropServices;
using ComputeSharp.D2D1.Extensions;
using ComputeSharp.D2D1.Shaders.Interop.Effects.ResourceManagers;
using ComputeSharp.D2D1.Shaders.Interop.Extensions;
using TerraFX.Interop.DirectX;
using TerraFX.Interop.Windows;
using ComputeSharp.Win32;
namespace ComputeSharp.D2D1.Interop.Effects;
+1 -2
ファイルの表示
@@ -4,8 +4,7 @@ using System.Runtime.InteropServices;
using ComputeSharp.D2D1.Extensions;
using ComputeSharp.D2D1.Shaders.Interop.Effects.ResourceManagers;
using ComputeSharp.D2D1.Shaders.Interop.Effects.TransformMappers;
using TerraFX.Interop.DirectX;
using TerraFX.Interop.Windows;
using ComputeSharp.Win32;
namespace ComputeSharp.D2D1.Interop.Effects;
+1 -2
ファイルの表示
@@ -2,8 +2,7 @@ using System.Runtime.CompilerServices;
#if !NET6_OR_GREATER
using System.Runtime.InteropServices;
#endif
using TerraFX.Interop.DirectX;
using TerraFX.Interop.Windows;
using ComputeSharp.Win32;
namespace ComputeSharp.D2D1.Interop.Effects;
+1 -2
ファイルの表示
@@ -5,8 +5,7 @@ using System.Runtime.CompilerServices;
#if !NET6_OR_GREATER
using System.Runtime.InteropServices;
#endif
using TerraFX.Interop.DirectX;
using TerraFX.Interop.Windows;
using ComputeSharp.Win32;
namespace ComputeSharp.D2D1.Interop.Effects;
+1 -2
ファイルの表示
@@ -3,8 +3,7 @@ using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Threading;
using ComputeSharp.D2D1.Shaders.Interop.Effects.TransformMappers;
using TerraFX.Interop.DirectX;
using TerraFX.Interop.Windows;
using ComputeSharp.Win32;
namespace ComputeSharp.D2D1.Interop.Effects;
@@ -1,7 +1,6 @@
using System;
using System.Runtime.InteropServices;
using TerraFX.Interop.DirectX;
using TerraFX.Interop.Windows;
using ComputeSharp.Win32;
namespace ComputeSharp.D2D1.Shaders.Interop.Effects.ResourceManagers;
@@ -1,8 +1,7 @@
using System;
using System.Runtime.InteropServices;
using ComputeSharp.D2D1.Shaders.Interop.Extensions;
using TerraFX.Interop.DirectX;
using TerraFX.Interop.Windows;
using ComputeSharp.Win32;
namespace ComputeSharp.D2D1.Shaders.Interop.Effects.ResourceManagers;
@@ -3,8 +3,7 @@ using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Threading;
using ComputeSharp.D2D1.Interop;
using TerraFX.Interop.DirectX;
using TerraFX.Interop.Windows;
using ComputeSharp.Win32;
namespace ComputeSharp.D2D1.Shaders.Interop.Effects.ResourceManagers;
@@ -1,8 +1,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.DirectX;
using TerraFX.Interop.Windows;
using ComputeSharp.Win32;
#pragma warning disable CS0649
@@ -1,8 +1,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.DirectX;
using TerraFX.Interop.Windows;
using ComputeSharp.Win32;
#pragma warning disable CS0649
@@ -1,6 +1,6 @@
using System;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
using ComputeSharp.Win32;
namespace ComputeSharp.D2D1.Shaders.Interop.Effects.TransformMappers;
@@ -1,6 +1,6 @@
using System;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
using ComputeSharp.Win32;
namespace ComputeSharp.D2D1.Shaders.Interop.Effects.TransformMappers;
@@ -3,8 +3,7 @@ using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Threading;
using ComputeSharp.D2D1.Interop;
using TerraFX.Interop.DirectX;
using TerraFX.Interop.Windows;
using ComputeSharp.Win32;
namespace ComputeSharp.D2D1.Shaders.Interop.Effects.TransformMappers;
@@ -4,7 +4,7 @@ using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using ComputeSharp.D2D1.Extensions;
using ComputeSharp.D2D1.Interop.Effects;
using TerraFX.Interop.Windows;
using ComputeSharp.Win32;
namespace ComputeSharp.D2D1.Shaders.Interop.Effects.TransformMappers;
@@ -1,6 +1,6 @@
using System;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
using ComputeSharp.Win32;
namespace ComputeSharp.D2D1.Shaders.Interop.Effects.TransformMappers;
@@ -5,7 +5,7 @@ using System.Runtime.InteropServices;
using System.Threading;
using ComputeSharp.D2D1.Interop;
using ComputeSharp.D2D1.Interop.Effects;
using TerraFX.Interop.Windows;
using ComputeSharp.Win32;
namespace ComputeSharp.D2D1.Shaders.Interop.Effects.TransformMappers;
@@ -1,14 +1,14 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
using ComputeSharp.Win32;
#pragma warning disable CS0649
namespace ComputeSharp.D2D1.Shaders.Interop.Effects.TransformMappers;
/// <summary>
/// The updater for <see cref="TerraFX.Interop.DirectX.ID2D1DrawInfo"/> type to use with built-in effects.
/// The updater for <see cref="ID2D1DrawInfo"/> type to use with built-in effects.
/// </summary>
[Guid("430C5B40-AE16-485F-90E6-4FA4915144B6")]
internal unsafe struct ID2D1DrawInfoUpdateContext
@@ -1,7 +1,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
using ComputeSharp.Win32;
#pragma warning disable CS0649
+1 -1
ファイルの表示
@@ -1,7 +1,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
using ComputeSharp.Win32;
#pragma warning disable CS0649
@@ -1,7 +1,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
using ComputeSharp.Win32;
#pragma warning disable CS0649
+1 -2
ファイルの表示
@@ -1,7 +1,6 @@
using System;
using System.Runtime.CompilerServices;
using TerraFX.Interop.DirectX;
using TerraFX.Interop.Windows;
using ComputeSharp.Win32;
namespace ComputeSharp.D2D1.Shaders.Interop.Extensions;
+1 -1
ファイルの表示
@@ -1,7 +1,7 @@
using System;
using System.Runtime.CompilerServices;
using ComputeSharp.D2D1.Descriptors;
using TerraFX.Interop.DirectX;
using ComputeSharp.Win32;
namespace ComputeSharp.D2D1.Shaders.Loaders;
+1 -1
ファイルの表示
@@ -1,7 +1,7 @@
using System;
using System.Runtime.CompilerServices;
using ComputeSharp.D2D1.Descriptors;
using TerraFX.Interop.DirectX;
using ComputeSharp.Win32;
namespace ComputeSharp.D2D1.Shaders.Loaders;
+1 -1
ファイルの表示
@@ -3,7 +3,7 @@ using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using ComputeSharp.D2D1.Descriptors;
using ComputeSharp.D2D1.Extensions;
using TerraFX.Interop.DirectX;
using ComputeSharp.Win32;
namespace ComputeSharp.D2D1.Shaders.Loaders;
+1 -1
ファイルの表示
@@ -3,7 +3,7 @@ using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using ComputeSharp.D2D1.Descriptors;
using ComputeSharp.D2D1.Extensions;
using TerraFX.Interop.DirectX;
using ComputeSharp.Win32;
namespace ComputeSharp.D2D1.Shaders.Loaders;
+2 -2
ファイルの表示
@@ -8,8 +8,8 @@ using ComputeSharp.D2D1.Interop;
using Windows.Win32.Graphics.Direct3D;
using static Windows.Win32.Foundation.HRESULT;
#else
using TerraFX.Interop.DirectX;
using static TerraFX.Interop.Windows.S;
using ComputeSharp.Win32;
using static ComputeSharp.Win32.S;
#endif
namespace ComputeSharp.D2D1.Shaders.Translation;
+1 -2
ファイルの表示
@@ -12,8 +12,7 @@ using Windows.Win32.Graphics.Direct3D.Fxc;
using DirectX = Windows.Win32.PInvoke;
#else
using ComputeSharp.D2D1.Extensions;
using TerraFX.Interop.DirectX;
using TerraFX.Interop.Windows;
using ComputeSharp.Win32;
#endif
namespace ComputeSharp.D2D1.Shaders.Translation;
-1
ファイルの表示
@@ -6,7 +6,6 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
#pragma warning disable CS0649
-1
ファイルの表示
@@ -6,7 +6,6 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
#pragma warning disable CS0649
-1
ファイルの表示
@@ -6,7 +6,6 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
#pragma warning disable CS0649
-1
ファイルの表示
@@ -6,7 +6,6 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
#pragma warning disable CS0649
-1
ファイルの表示
@@ -6,7 +6,6 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
#pragma warning disable CS0649
-1
ファイルの表示
@@ -6,7 +6,6 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
namespace ComputeSharp.Win32;
-4
ファイルの表示
@@ -5,10 +5,6 @@
#pragma warning disable CS0649
#if NET6_0_OR_GREATER
using TerraFX.Interop.Windows;
#endif
namespace ComputeSharp.Win32;
internal unsafe partial struct D2D1_PROPERTY_BINDING
+1 -2
ファイルの表示
@@ -6,8 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
using static TerraFX.Interop.DirectX.D2D1_PIXEL_OPTIONS;
using static ComputeSharp.Win32.D2D1_PIXEL_OPTIONS;
#pragma warning disable CS0649
-1
ファイルの表示
@@ -6,7 +6,6 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
#pragma warning disable CS0649
-1
ファイルの表示
@@ -6,7 +6,6 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
#pragma warning disable CS0649
-1
ファイルの表示
@@ -6,7 +6,6 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
#pragma warning disable CS0649
-1
ファイルの表示
@@ -6,7 +6,6 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
#pragma warning disable CS0649
-1
ファイルの表示
@@ -6,7 +6,6 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
#pragma warning disable CS0649
-1
ファイルの表示
@@ -6,7 +6,6 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
#pragma warning disable CS0649
-1
ファイルの表示
@@ -4,7 +4,6 @@
// Original source is Copyright © Microsoft. Licensed under the MIT license
using System.Runtime.CompilerServices;
using TerraFX.Interop.Windows;
#pragma warning disable CS0649
-1
ファイルの表示
@@ -5,7 +5,6 @@
using System;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
namespace ComputeSharp.Win32;
@@ -6,7 +6,6 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
namespace ComputeSharp.Win32;
+2 -2
ファイルの表示
@@ -8,8 +8,8 @@ using System.ComponentModel;
using System.Diagnostics;
using System.Diagnostics.CodeAnalysis;
using System.Runtime.CompilerServices;
using static TerraFX.Interop.Windows.Windows;
using static TerraFX.Interop.Windows.S;
using static ComputeSharp.Win32.Windows;
using static ComputeSharp.Win32.S;
namespace ComputeSharp.Win32;
-1
ファイルの表示
@@ -6,7 +6,6 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
#pragma warning disable CS0649