| Index: src/gpu/effects/GrConvolutionEffect.h
|
| diff --git a/src/gpu/effects/GrConvolutionEffect.h b/src/gpu/effects/GrConvolutionEffect.h
|
| index 9db173a8cae9086964e4773b1ac50e21f80f4aa4..4bf52b08ac0fa1ba099c8db619cfeb40f2cc31eb 100644
|
| --- a/src/gpu/effects/GrConvolutionEffect.h
|
| +++ b/src/gpu/effects/GrConvolutionEffect.h
|
| @@ -26,8 +26,8 @@ public:
|
| int halfWidth,
|
| const float* kernel,
|
| bool useBounds,
|
| - float bounds[2]) {
|
| - return new GrConvolutionEffect(tex, dir, halfWidth, kernel, useBounds, bounds);
|
| + float bounds[2], GrRenderTarget* dst) {
|
| + return new GrConvolutionEffect(tex, dir, halfWidth, kernel, useBounds, bounds, dst);
|
| }
|
|
|
| /// Convolve with a Gaussian kernel
|
| @@ -36,8 +36,9 @@ public:
|
| int halfWidth,
|
| float gaussianSigma,
|
| bool useBounds,
|
| - float bounds[2]) {
|
| - return new GrConvolutionEffect(tex, dir, halfWidth, gaussianSigma, useBounds, bounds);
|
| + float bounds[2], GrRenderTarget* dst) {
|
| + return new GrConvolutionEffect(tex, dir, halfWidth, gaussianSigma,
|
| + useBounds, bounds, dst);
|
| }
|
|
|
| virtual ~GrConvolutionEffect();
|
| @@ -71,14 +72,14 @@ private:
|
| int halfWidth,
|
| const float* kernel,
|
| bool useBounds,
|
| - float bounds[2]);
|
| + float bounds[2], GrRenderTarget* dst);
|
|
|
| /// Convolve with a Gaussian kernel
|
| GrConvolutionEffect(GrTexture*, Direction,
|
| int halfWidth,
|
| float gaussianSigma,
|
| bool useBounds,
|
| - float bounds[2]);
|
| + float bounds[2], GrRenderTarget* dst);
|
|
|
| GrGLFragmentProcessor* onCreateGLInstance() const override;
|
|
|
|
|