| Index: src/gpu/effects/GrMatrixConvolutionEffect.h
|
| diff --git a/src/gpu/effects/GrMatrixConvolutionEffect.h b/src/gpu/effects/GrMatrixConvolutionEffect.h
|
| index 6a340fbbd53a187e7b99f6069ce7ac91bfa4469e..7a95df31b894e5f43140337ca60457e6c0fde09d 100644
|
| --- a/src/gpu/effects/GrMatrixConvolutionEffect.h
|
| +++ b/src/gpu/effects/GrMatrixConvolutionEffect.h
|
| @@ -18,7 +18,8 @@
|
|
|
| class GrMatrixConvolutionEffect : public GrSingleTextureEffect {
|
| public:
|
| - static GrFragmentProcessor* Create(GrTexture* texture,
|
| + static GrFragmentProcessor* Create(GrProcessorDataManager* procDataManager,
|
| + GrTexture* texture,
|
| const SkIRect& bounds,
|
| const SkISize& kernelSize,
|
| const SkScalar* kernel,
|
| @@ -27,7 +28,8 @@ public:
|
| const SkIPoint& kernelOffset,
|
| GrTextureDomain::Mode tileMode,
|
| bool convolveAlpha) {
|
| - return SkNEW_ARGS(GrMatrixConvolutionEffect, (texture,
|
| + return SkNEW_ARGS(GrMatrixConvolutionEffect, (procDataManager,
|
| + texture,
|
| bounds,
|
| kernelSize,
|
| kernel,
|
| @@ -38,7 +40,8 @@ public:
|
| convolveAlpha));
|
| }
|
|
|
| - static GrFragmentProcessor* CreateGaussian(GrTexture* texture,
|
| + static GrFragmentProcessor* CreateGaussian(GrProcessorDataManager*,
|
| + GrTexture* texture,
|
| const SkIRect& bounds,
|
| const SkISize& kernelSize,
|
| SkScalar gain,
|
| @@ -67,7 +70,8 @@ public:
|
| GrGLFragmentProcessor* createGLInstance() const override;
|
|
|
| private:
|
| - GrMatrixConvolutionEffect(GrTexture*,
|
| + GrMatrixConvolutionEffect(GrProcessorDataManager*,
|
| + GrTexture*,
|
| const SkIRect& bounds,
|
| const SkISize& kernelSize,
|
| const SkScalar* kernel,
|
|
|