Index: src/gpu/effects/GrMatrixConvolutionEffect.cpp |
diff --git a/src/gpu/effects/GrMatrixConvolutionEffect.cpp b/src/gpu/effects/GrMatrixConvolutionEffect.cpp |
index 500a07e3bf2f38612df2f0dfaf229fb707e209f1..a9e715708a80923926d6565c7f51932086abec9b 100644 |
--- a/src/gpu/effects/GrMatrixConvolutionEffect.cpp |
+++ b/src/gpu/effects/GrMatrixConvolutionEffect.cpp |
@@ -15,7 +15,7 @@ class GrGLMatrixConvolutionEffect : public GrGLFragmentProcessor { |
public: |
GrGLMatrixConvolutionEffect(const GrBackendProcessorFactory& factory, |
const GrProcessor&); |
- virtual void emitCode(GrGLProgramBuilder*, |
+ virtual void emitCode(GrGLFPBuilder*, |
const GrFragmentProcessor&, |
const GrProcessorKey&, |
const char* outputColor, |
@@ -51,7 +51,7 @@ GrGLMatrixConvolutionEffect::GrGLMatrixConvolutionEffect(const GrBackendProcesso |
fConvolveAlpha = m.convolveAlpha(); |
} |
-void GrGLMatrixConvolutionEffect::emitCode(GrGLProgramBuilder* builder, |
+void GrGLMatrixConvolutionEffect::emitCode(GrGLFPBuilder* builder, |
const GrFragmentProcessor& fp, |
const GrProcessorKey& key, |
const char* outputColor, |
@@ -84,7 +84,7 @@ void GrGLMatrixConvolutionEffect::emitCode(GrGLProgramBuilder* builder, |
int kWidth = fKernelSize.width(); |
int kHeight = fKernelSize.height(); |
- GrGLFragmentShaderBuilder* fsBuilder = builder->getFragmentShaderBuilder(); |
+ GrGLFPFragmentBuilder* fsBuilder = builder->getFragmentShaderBuilder(); |
SkString coords2D = fsBuilder->ensureFSCoords2D(coords, 0); |
fsBuilder->codeAppend("vec4 sum = vec4(0, 0, 0, 0);"); |
fsBuilder->codeAppendf("vec2 coord = %s - %s * %s;", coords2D.c_str(), kernelOffset, |