| Index: src/gpu/effects/GrMatrixConvolutionEffect.h
|
| diff --git a/src/gpu/effects/GrMatrixConvolutionEffect.h b/src/gpu/effects/GrMatrixConvolutionEffect.h
|
| index 3f16edb0ec97549ced8f5d8cb091e5f4c2b87cc7..040e3396a704b5aea533ba88822fddb1146d544d 100644
|
| --- a/src/gpu/effects/GrMatrixConvolutionEffect.h
|
| +++ b/src/gpu/effects/GrMatrixConvolutionEffect.h
|
| @@ -26,9 +26,9 @@ public:
|
| SkScalar bias,
|
| const SkIPoint& kernelOffset,
|
| GrTextureDomain::Mode tileMode,
|
| - bool convolveAlpha) {
|
| - return new GrMatrixConvolutionEffect(texture, bounds, kernelSize, kernel, gain, bias,
|
| - kernelOffset, tileMode, convolveAlpha);
|
| + bool convolveAlpha, GrRenderTarget* dst) {
|
| + return new GrMatrixConvolutionEffect(texture, bounds, kernelSize, kernel,
|
| + gain, bias, kernelOffset, tileMode, convolveAlpha, dst);
|
| }
|
|
|
| static GrFragmentProcessor* CreateGaussian(GrTexture* texture,
|
| @@ -40,7 +40,7 @@ public:
|
| GrTextureDomain::Mode tileMode,
|
| bool convolveAlpha,
|
| SkScalar sigmaX,
|
| - SkScalar sigmaY);
|
| + SkScalar sigmaY, GrRenderTarget* dst);
|
|
|
| virtual ~GrMatrixConvolutionEffect();
|
|
|
| @@ -64,7 +64,7 @@ private:
|
| SkScalar bias,
|
| const SkIPoint& kernelOffset,
|
| GrTextureDomain::Mode tileMode,
|
| - bool convolveAlpha);
|
| + bool convolveAlpha, GrRenderTarget* dst);
|
|
|
| GrGLFragmentProcessor* onCreateGLInstance() const override;
|
|
|
|
|