From 8d2672c0b33880cdcce115493878e555ab564f6d Mon Sep 17 00:00:00 2001 From: Sergio Pedri Date: Thu, 26 Dec 2019 11:20:12 +0100 Subject: [PATCH] Moved pixel shader processor types --- src/ImageSharp/Processing/Extensions/PixelShaderExtensions.cs | 2 +- .../{PixelShading => Effects}/PixelShaderProcessor.cs | 2 +- .../Abstract => Effects}/PixelShaderProcessorBase.cs | 2 +- .../{PixelShading => Effects}/PixelShaderProcessor{TPixel}.cs | 3 +-- .../PositionAwarePixelShaderProcessor.cs | 2 +- .../PositionAwarePixelShaderProcessor{TPixel}.cs | 3 +-- 6 files changed, 6 insertions(+), 8 deletions(-) rename src/ImageSharp/Processing/Processors/{PixelShading => Effects}/PixelShaderProcessor.cs (94%) rename src/ImageSharp/Processing/Processors/{PixelShading/Abstract => Effects}/PixelShaderProcessorBase.cs (97%) rename src/ImageSharp/Processing/Processors/{PixelShading => Effects}/PixelShaderProcessor{TPixel}.cs (91%) rename src/ImageSharp/Processing/Processors/{PixelShading => Effects}/PositionAwarePixelShaderProcessor.cs (95%) rename src/ImageSharp/Processing/Processors/{PixelShading => Effects}/PositionAwarePixelShaderProcessor{TPixel}.cs (92%) diff --git a/src/ImageSharp/Processing/Extensions/PixelShaderExtensions.cs b/src/ImageSharp/Processing/Extensions/PixelShaderExtensions.cs index 36529eb70c..30848e346c 100644 --- a/src/ImageSharp/Processing/Extensions/PixelShaderExtensions.cs +++ b/src/ImageSharp/Processing/Extensions/PixelShaderExtensions.cs @@ -1,7 +1,7 @@ // Copyright (c) Six Labors and contributors. // Licensed under the Apache License, Version 2.0. -using SixLabors.ImageSharp.Processing.Processors.PixelShading; +using SixLabors.ImageSharp.Processing.Processors.Effects; using SixLabors.Primitives; namespace SixLabors.ImageSharp.Processing diff --git a/src/ImageSharp/Processing/Processors/PixelShading/PixelShaderProcessor.cs b/src/ImageSharp/Processing/Processors/Effects/PixelShaderProcessor.cs similarity index 94% rename from src/ImageSharp/Processing/Processors/PixelShading/PixelShaderProcessor.cs rename to src/ImageSharp/Processing/Processors/Effects/PixelShaderProcessor.cs index c0b333a691..6c44199da0 100644 --- a/src/ImageSharp/Processing/Processors/PixelShading/PixelShaderProcessor.cs +++ b/src/ImageSharp/Processing/Processors/Effects/PixelShaderProcessor.cs @@ -4,7 +4,7 @@ using SixLabors.ImageSharp.PixelFormats; using SixLabors.Primitives; -namespace SixLabors.ImageSharp.Processing.Processors.PixelShading +namespace SixLabors.ImageSharp.Processing.Processors.Effects { /// /// Applies a user defined pixel shader effect through a given delegate. diff --git a/src/ImageSharp/Processing/Processors/PixelShading/Abstract/PixelShaderProcessorBase.cs b/src/ImageSharp/Processing/Processors/Effects/PixelShaderProcessorBase.cs similarity index 97% rename from src/ImageSharp/Processing/Processors/PixelShading/Abstract/PixelShaderProcessorBase.cs rename to src/ImageSharp/Processing/Processors/Effects/PixelShaderProcessorBase.cs index 1af50197aa..a8e032ee17 100644 --- a/src/ImageSharp/Processing/Processors/PixelShading/Abstract/PixelShaderProcessorBase.cs +++ b/src/ImageSharp/Processing/Processors/Effects/PixelShaderProcessorBase.cs @@ -9,7 +9,7 @@ using SixLabors.ImageSharp.Advanced.ParallelUtils; using SixLabors.ImageSharp.PixelFormats; using SixLabors.Primitives; -namespace SixLabors.ImageSharp.Processing.Processors.PixelShading.Abstract +namespace SixLabors.ImageSharp.Processing.Processors.Effects { /// /// Applies a user defined pixel shader effect through a given delegate. diff --git a/src/ImageSharp/Processing/Processors/PixelShading/PixelShaderProcessor{TPixel}.cs b/src/ImageSharp/Processing/Processors/Effects/PixelShaderProcessor{TPixel}.cs similarity index 91% rename from src/ImageSharp/Processing/Processors/PixelShading/PixelShaderProcessor{TPixel}.cs rename to src/ImageSharp/Processing/Processors/Effects/PixelShaderProcessor{TPixel}.cs index f3f8f25983..29e3ab5a9b 100644 --- a/src/ImageSharp/Processing/Processors/PixelShading/PixelShaderProcessor{TPixel}.cs +++ b/src/ImageSharp/Processing/Processors/Effects/PixelShaderProcessor{TPixel}.cs @@ -5,10 +5,9 @@ using System; using System.Numerics; using SixLabors.ImageSharp.PixelFormats; -using SixLabors.ImageSharp.Processing.Processors.PixelShading.Abstract; using SixLabors.Primitives; -namespace SixLabors.ImageSharp.Processing.Processors.PixelShading +namespace SixLabors.ImageSharp.Processing.Processors.Effects { /// /// Applies a user defined pixel shader effect through a given delegate. diff --git a/src/ImageSharp/Processing/Processors/PixelShading/PositionAwarePixelShaderProcessor.cs b/src/ImageSharp/Processing/Processors/Effects/PositionAwarePixelShaderProcessor.cs similarity index 95% rename from src/ImageSharp/Processing/Processors/PixelShading/PositionAwarePixelShaderProcessor.cs rename to src/ImageSharp/Processing/Processors/Effects/PositionAwarePixelShaderProcessor.cs index c06d460486..a83e8b5a42 100644 --- a/src/ImageSharp/Processing/Processors/PixelShading/PositionAwarePixelShaderProcessor.cs +++ b/src/ImageSharp/Processing/Processors/Effects/PositionAwarePixelShaderProcessor.cs @@ -4,7 +4,7 @@ using SixLabors.ImageSharp.PixelFormats; using SixLabors.Primitives; -namespace SixLabors.ImageSharp.Processing.Processors.PixelShading +namespace SixLabors.ImageSharp.Processing.Processors.Effects { /// /// Applies a user defined pixel shader effect through a given delegate. diff --git a/src/ImageSharp/Processing/Processors/PixelShading/PositionAwarePixelShaderProcessor{TPixel}.cs b/src/ImageSharp/Processing/Processors/Effects/PositionAwarePixelShaderProcessor{TPixel}.cs similarity index 92% rename from src/ImageSharp/Processing/Processors/PixelShading/PositionAwarePixelShaderProcessor{TPixel}.cs rename to src/ImageSharp/Processing/Processors/Effects/PositionAwarePixelShaderProcessor{TPixel}.cs index bca3286eb2..6c4eee35f5 100644 --- a/src/ImageSharp/Processing/Processors/PixelShading/PositionAwarePixelShaderProcessor{TPixel}.cs +++ b/src/ImageSharp/Processing/Processors/Effects/PositionAwarePixelShaderProcessor{TPixel}.cs @@ -5,10 +5,9 @@ using System; using System.Numerics; using SixLabors.ImageSharp.PixelFormats; -using SixLabors.ImageSharp.Processing.Processors.PixelShading.Abstract; using SixLabors.Primitives; -namespace SixLabors.ImageSharp.Processing.Processors.PixelShading +namespace SixLabors.ImageSharp.Processing.Processors.Effects { /// /// Applies a user defined pixel shader effect through a given delegate.