| Index: src/gpu/effects/GrMatrixConvolutionEffect.h
|
| diff --git a/src/gpu/effects/GrMatrixConvolutionEffect.h b/src/gpu/effects/GrMatrixConvolutionEffect.h
|
| index b8df437681252ba42f8324f8c693fb595667601f..f5762ba957ed7cc3b5e76f460b43464a7b59b56a 100644
|
| --- a/src/gpu/effects/GrMatrixConvolutionEffect.h
|
| +++ b/src/gpu/effects/GrMatrixConvolutionEffect.h
|
| @@ -43,6 +43,18 @@ public:
|
| SkScalar sigmaX,
|
| SkScalar sigmaY);
|
|
|
| +
|
| + static sk_sp<GrFragmentProcessor> MakeGaussian(GrTextureProxy* texture,
|
| + const SkIRect& bounds,
|
| + const SkISize& kernelSize,
|
| + SkScalar gain,
|
| + SkScalar bias,
|
| + const SkIPoint& kernelOffset,
|
| + GrTextureDomain::Mode tileMode,
|
| + bool convolveAlpha,
|
| + SkScalar sigmaX,
|
| + SkScalar sigmaY);
|
| +
|
| const SkIRect& bounds() const { return fBounds; }
|
| const SkISize& kernelSize() const { return fKernelSize; }
|
| const float* kernelOffset() const { return fKernelOffset; }
|
|
|