Run dotnet format whitespace

このコミットが含まれているのは:
Sergio Pedri committed 2022-10-15 09:10:18 -07:00
1 親 228d7d8b7a
コミット e94636b80c
896ファイル変更
+1511 -1511

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

+3 -3
ファイルの表示
@@ -1,4 +1,4 @@
using System;
using System;
#if WINDOWS_UWP
using Windows.UI.Xaml;
#else
@@ -73,7 +73,7 @@ partial class AnimatedComputeShaderPanel
private static void OnShaderRunnerPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
{
var @this = (AnimatedComputeShaderPanel)d;
if (@this.IsLoaded &&
!@this.IsPaused &&
e.NewValue is IShaderRunner shaderRunner)
@@ -206,4 +206,4 @@ partial class AnimatedComputeShaderPanel
@this.swapChainManager.StopRenderLoop();
}
}
}
}
+2 -2
ファイルの表示
@@ -1,4 +1,4 @@
using System;
using System;
#if WINDOWS_UWP
using ComputeSharp.Uwp.Helpers;
using Windows.UI.Xaml;
@@ -98,4 +98,4 @@ public sealed partial class AnimatedComputeShaderPanel : SwapChainPanel, IDispos
this.swapChainManager.StopRenderLoop();
this.swapChainManager.Dispose();
}
}
}
+2 -2
ファイルの表示
@@ -1,4 +1,4 @@
using System;
using System;
#if WINDOWS_UWP
using Windows.UI.Xaml;
#else
@@ -206,4 +206,4 @@ partial class ComputeShaderPanel
@this.swapChainManager.QueueVerticalSyncModeChange(isVerticalSyncEnabled);
}
}
}
+2 -2
ファイルの表示
@@ -1,4 +1,4 @@
using System;
using System;
#if WINDOWS_UWP
using ComputeSharp.Uwp.Helpers;
using Windows.UI.Xaml;
@@ -92,4 +92,4 @@ public sealed partial class ComputeShaderPanel : SwapChainPanel, IDisposable
{
this.swapChainManager.Dispose();
}
}
}
+2 -2
ファイルの表示
@@ -1,4 +1,4 @@
using System;
using System;
#if WINDOWS_UWP
namespace ComputeSharp.Uwp;
@@ -24,4 +24,4 @@ public sealed class RenderingFailedEventArgs : EventArgs
/// Gets the <see cref="System.Exception"/> that caused the rendering to fail.
/// </summary>
public Exception Exception { get; }
}
}
+2 -2
ファイルの表示
@@ -1,4 +1,4 @@
using System;
using System;
using ComputeSharp.Core.Extensions;
using TerraFX.Interop.DirectX;
using TerraFX.Interop.Windows;
@@ -52,4 +52,4 @@ internal static unsafe class IDXGIAdapterExtensions
return refreshRate;
}
}
}
+2 -2
ファイルの表示
@@ -1,4 +1,4 @@
using System;
using System;
using System.ComponentModel;
using System.Threading;
using System.Threading.Tasks;
@@ -53,4 +53,4 @@ internal static class SemaphoreSlimExtensions
this.semaphore.Release();
}
}
}
}
+2 -2
ファイルの表示
@@ -1,4 +1,4 @@
using System;
using System;
using System.Runtime.CompilerServices;
using System.Threading;
@@ -136,4 +136,4 @@ internal unsafe ref struct DynamicResolutionManager
return false;
}
}
}
+3 -3
ファイルの表示
@@ -1,4 +1,4 @@
using System;
using System;
using System.Diagnostics;
using System.Runtime.CompilerServices;
using System.Threading;
@@ -249,7 +249,7 @@ partial class SwapChainManager<TOwner>
}
OnResize();
if (OnUpdate(renderStopwatch.Elapsed, parameter))
{
OnWaitForPresent();
@@ -441,4 +441,4 @@ partial class SwapChainManager<TOwner>
this.renderCancellationTokenSource?.Cancel();
this.renderSemaphore.Wait();
}
}
}
+9 -9
ファイルの表示
@@ -1,4 +1,4 @@
using System;
using System;
using System.Diagnostics;
using System.Runtime.CompilerServices;
#if WINDOWS_UWP
@@ -240,20 +240,20 @@ internal sealed unsafe partial class SwapChainManager<TOwner> : NativeObject
// Extract the ISwapChainPanelNative reference from the current panel, then query the
// IDXGISwapChain reference just created and set that as the swap chain panel to use.
fixed (ISwapChainPanelNative** swapChainPanelNative = this.swapChainPanelNative)
using (ComPtr<IUnknown> swapChainPanel = default)
{
using (ComPtr<IUnknown> swapChainPanel = default)
{
#if WINDOWS_UWP
swapChainPanel.Attach((IUnknown*)Marshal.GetIUnknownForObject(owner));
swapChainPanel.CopyTo(swapChainPanelNative).Assert();
#else
swapChainPanel.Attach((IUnknown*)((IWinRTObject)owner).NativeObject.GetRef());
swapChainPanel.Attach((IUnknown*)((IWinRTObject)owner).NativeObject.GetRef());
swapChainPanel.CopyTo(
(Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(new Guid(0x63AAD0B8, 0x7C24, 0x40FF, 0x85, 0xA8, 0x64, 0x0D, 0x94, 0x4C, 0xC3, 0x25))),
(void**)swapChainPanelNative).Assert();
swapChainPanel.CopyTo(
(Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(new Guid(0x63AAD0B8, 0x7C24, 0x40FF, 0x85, 0xA8, 0x64, 0x0D, 0x94, 0x4C, 0xC3, 0x25))),
(void**)swapChainPanelNative).Assert();
#endif
}
}
// Get the underlying ID3D12Device in use
fixed (ID3D12Device** d3D12Device = this.d3D12Device)
@@ -580,4 +580,4 @@ internal sealed unsafe partial class SwapChainManager<TOwner> : NativeObject
OnDisposeOnThreadPoolThread(this);
}
}
}
}
+2 -2
ファイルの表示
@@ -1,4 +1,4 @@
using System.Threading;
using System.Threading;
#if WINDOWS_UWP
namespace ComputeSharp.Uwp;
@@ -36,4 +36,4 @@ public interface IFrameRequestQueue
/// </para>
/// </remarks>
void Dequeue(out object? parameter, CancellationToken token);
}
}
+2 -2
ファイルの表示
@@ -1,4 +1,4 @@
using System;
using System;
#if WINDOWS_UWP
namespace ComputeSharp.Uwp;
@@ -23,4 +23,4 @@ public interface IShaderRunner
/// or <see cref="AnimatedComputeShaderPanel.RenderingFailed"/> to be raised.
/// </remarks>
bool TryExecute(IReadWriteNormalizedTexture2D<Float4> texture, TimeSpan timespan, object? parameter);
}
}
+2 -2
ファイルの表示
@@ -1,4 +1,4 @@
using System;
using System;
using CommunityToolkit.Diagnostics;
#if WINDOWS_UWP
@@ -70,4 +70,4 @@ public sealed class ShaderRunner<T> : IShaderRunner
return true;
}
}
}