Index: src/gpu/effects/GrConvolutionEffect.h |
diff --git a/src/gpu/effects/GrConvolutionEffect.h b/src/gpu/effects/GrConvolutionEffect.h |
index 2cf36af5373adfcd16449df5249c445ce8b3de9b..9db173a8cae9086964e4773b1ac50e21f80f4aa4 100644 |
--- a/src/gpu/effects/GrConvolutionEffect.h |
+++ b/src/gpu/effects/GrConvolutionEffect.h |
@@ -21,27 +21,23 @@ class GrConvolutionEffect : public Gr1DKernelEffect { |
public: |
/// Convolve with an arbitrary user-specified kernel |
- static GrFragmentProcessor* Create(GrProcessorDataManager* procDataManager, |
- GrTexture* tex, |
+ static GrFragmentProcessor* Create(GrTexture* tex, |
Direction dir, |
int halfWidth, |
const float* kernel, |
bool useBounds, |
float bounds[2]) { |
- return new GrConvolutionEffect(procDataManager, tex, dir, halfWidth, kernel, useBounds, |
- bounds); |
+ return new GrConvolutionEffect(tex, dir, halfWidth, kernel, useBounds, bounds); |
} |
/// Convolve with a Gaussian kernel |
- static GrFragmentProcessor* CreateGaussian(GrProcessorDataManager* procDataManager, |
- GrTexture* tex, |
+ static GrFragmentProcessor* CreateGaussian(GrTexture* tex, |
Direction dir, |
int halfWidth, |
float gaussianSigma, |
bool useBounds, |
float bounds[2]) { |
- return new GrConvolutionEffect(procDataManager, tex, dir, halfWidth, gaussianSigma, |
- useBounds, bounds); |
+ return new GrConvolutionEffect(tex, dir, halfWidth, gaussianSigma, useBounds, bounds); |
} |
virtual ~GrConvolutionEffect(); |
@@ -71,16 +67,14 @@ protected: |
float fBounds[2]; |
private: |
- GrConvolutionEffect(GrProcessorDataManager*, |
- GrTexture*, Direction, |
+ GrConvolutionEffect(GrTexture*, Direction, |
int halfWidth, |
const float* kernel, |
bool useBounds, |
float bounds[2]); |
/// Convolve with a Gaussian kernel |
- GrConvolutionEffect(GrProcessorDataManager*, |
- GrTexture*, Direction, |
+ GrConvolutionEffect(GrTexture*, Direction, |
int halfWidth, |
float gaussianSigma, |
bool useBounds, |