diff options
Diffstat (limited to 'src/effects/SkMatrixConvolutionImageFilter.cpp')
-rw-r--r-- | src/effects/SkMatrixConvolutionImageFilter.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/effects/SkMatrixConvolutionImageFilter.cpp b/src/effects/SkMatrixConvolutionImageFilter.cpp index eeb61a7917..ddd93ba3ec 100644 --- a/src/effects/SkMatrixConvolutionImageFilter.cpp +++ b/src/effects/SkMatrixConvolutionImageFilter.cpp @@ -13,7 +13,7 @@ #include "SkUnPreMultiply.h" #if SK_SUPPORT_GPU -#include "gl/GrGLProgramStage.h" +#include "gl/GrGLEffect.h" #endif SkMatrixConvolutionImageFilter::SkMatrixConvolutionImageFilter(const SkISize& kernelSize, const SkScalar* kernel, SkScalar gain, SkScalar bias, const SkIPoint& target, TileMode tileMode, bool convolveAlpha, SkImageFilter* input) @@ -415,7 +415,7 @@ int encodeXY(int x, int y) { }; -GrGLProgramStage::StageKey GrGLMatrixConvolutionEffect::GenKey(const GrEffect& s, +GrGLEffect::StageKey GrGLMatrixConvolutionEffect::GenKey(const GrEffect& s, const GrGLCaps& caps) { const GrMatrixConvolutionEffect& m = static_cast<const GrMatrixConvolutionEffect&>(s); StageKey key = encodeXY(m.kernelSize().width(), m.kernelSize().height()); |