aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/gpu/effects/GrGaussianConvolutionFragmentProcessor.cpp
diff options
context:
space:
mode:
authorGravatar Robert Phillips <robertphillips@google.com>2017-02-28 16:20:03 -0500
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2017-02-28 22:07:05 +0000
commit32f2818c9d10090efeea62ccc211d48a33322dfb (patch)
treefd301bc81387a3c3e0cc767cba43ba214a314f86 /src/gpu/effects/GrGaussianConvolutionFragmentProcessor.cpp
parentdac5f6bcbec7130a209a6899444feb022719498d (diff)
Clean up/remove unused GrFragmentProcessor-derived ctors
This is the simple (i.e., non-TextureAdjuster) portion of: https://skia-review.googlesource.com/c/8823/ (Remove GrFragmentProcessor-derived class' GrTexture-based ctors) Change-Id: I8f673ebe922e03c69473c18c166bcf818507c662 Reviewed-on: https://skia-review.googlesource.com/8997 Commit-Queue: Robert Phillips <robertphillips@google.com> Reviewed-by: Brian Salomon <bsalomon@google.com>
Diffstat (limited to 'src/gpu/effects/GrGaussianConvolutionFragmentProcessor.cpp')
-rw-r--r--src/gpu/effects/GrGaussianConvolutionFragmentProcessor.cpp16
1 files changed, 0 insertions, 16 deletions
diff --git a/src/gpu/effects/GrGaussianConvolutionFragmentProcessor.cpp b/src/gpu/effects/GrGaussianConvolutionFragmentProcessor.cpp
index 2d485e634e..ecfd25cb08 100644
--- a/src/gpu/effects/GrGaussianConvolutionFragmentProcessor.cpp
+++ b/src/gpu/effects/GrGaussianConvolutionFragmentProcessor.cpp
@@ -168,22 +168,6 @@ static void fill_in_1D_guassian_kernel(float* kernel, int width, float gaussianS
}
}
-GrGaussianConvolutionFragmentProcessor::GrGaussianConvolutionFragmentProcessor(GrTexture* texture,
- Direction direction,
- int radius,
- float gaussianSigma,
- bool useBounds,
- int bounds[2])
- : INHERITED(texture, direction, radius, ModulationFlags(texture->config()))
- , fUseBounds(useBounds) {
- this->initClassID<GrGaussianConvolutionFragmentProcessor>();
- SkASSERT(radius <= kMaxKernelRadius);
-
- fill_in_1D_guassian_kernel(fKernel, this->width(), gaussianSigma, this->radius());
-
- memcpy(fBounds, bounds, sizeof(fBounds));
-}
-
GrGaussianConvolutionFragmentProcessor::GrGaussianConvolutionFragmentProcessor(
GrContext* context,
sk_sp<GrTextureProxy> proxy,