| Index: src/gpu/effects/GrMatrixConvolutionEffect.h
|
| diff --git a/src/gpu/effects/GrMatrixConvolutionEffect.h b/src/gpu/effects/GrMatrixConvolutionEffect.h
|
| index 24c3bdb285f9a0a3289d0661c103ee4e87e7cec4..814299f2d1c182887b85edc5cf66dc25bb3ff5e5 100644
|
| --- a/src/gpu/effects/GrMatrixConvolutionEffect.h
|
| +++ b/src/gpu/effects/GrMatrixConvolutionEffect.h
|
| @@ -38,6 +38,18 @@ public:
|
| tileMode,
|
| convolveAlpha));
|
| }
|
| +
|
| + static GrEffect* CreateGaussian(GrTexture* texture,
|
| + const SkIRect& bounds,
|
| + const SkISize& kernelSize,
|
| + SkScalar gain,
|
| + SkScalar bias,
|
| + const SkIPoint& kernelOffset,
|
| + GrTextureDomain::Mode tileMode,
|
| + bool convolveAlpha,
|
| + SkScalar sigmaX,
|
| + SkScalar sigmaY);
|
| +
|
| virtual ~GrMatrixConvolutionEffect();
|
|
|
| virtual void getConstantColorComponents(GrColor* color,
|
| @@ -75,7 +87,7 @@ private:
|
|
|
| SkIRect fBounds;
|
| SkISize fKernelSize;
|
| - float* fKernel;
|
| + float fKernel[MAX_KERNEL_SIZE];
|
| float fGain;
|
| float fBias;
|
| float fKernelOffset[2];
|
|
|