From 1598899975ecc85b003a59740b588d1ddbcedb09 Mon Sep 17 00:00:00 2001 From: joshualitt Date: Thu, 9 Oct 2014 15:04:05 -0700 Subject: FPs now use the correct builder types(just a rename) BUG=skia: Review URL: https://codereview.chromium.org/648463003 --- src/gpu/effects/GrDitherEffect.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/gpu/effects/GrDitherEffect.cpp') diff --git a/src/gpu/effects/GrDitherEffect.cpp b/src/gpu/effects/GrDitherEffect.cpp index e7f90acd87..ce8c471665 100644 --- a/src/gpu/effects/GrDitherEffect.cpp +++ b/src/gpu/effects/GrDitherEffect.cpp @@ -71,7 +71,7 @@ class GLDitherEffect : public GrGLFragmentProcessor { public: GLDitherEffect(const GrBackendProcessorFactory&, const GrProcessor&); - virtual void emitCode(GrGLProgramBuilder* builder, + virtual void emitCode(GrGLFPBuilder* builder, const GrFragmentProcessor& fp, const GrProcessorKey& key, const char* outputColor, @@ -88,14 +88,14 @@ GLDitherEffect::GLDitherEffect(const GrBackendProcessorFactory& factory, : INHERITED (factory) { } -void GLDitherEffect::emitCode(GrGLProgramBuilder* builder, +void GLDitherEffect::emitCode(GrGLFPBuilder* builder, const GrFragmentProcessor& fp, const GrProcessorKey& key, const char* outputColor, const char* inputColor, const TransformedCoordsArray&, const TextureSamplerArray& samplers) { - GrGLFragmentShaderBuilder* fsBuilder = builder->getFragmentShaderBuilder(); + GrGLFPFragmentBuilder* fsBuilder = builder->getFragmentShaderBuilder(); // Generate a random number based on the fragment position. For this // random number generator, we use the "GLSL rand" function // that seems to be floating around on the internet. It works under -- cgit v1.2.3