diff options
author | 2014-10-09 15:04:05 -0700 | |
---|---|---|
committer | 2014-10-09 15:04:05 -0700 | |
commit | 1598899975ecc85b003a59740b588d1ddbcedb09 (patch) | |
tree | deb4ce50dc0068efb0e6225055d21fe8ec0998e9 /src/gpu/effects/GrDitherEffect.cpp | |
parent | 1119c870651ccd34c0acb8fb2cdfad2c07d3116c (diff) |
FPs now use the correct builder types(just a rename)
BUG=skia:
Review URL: https://codereview.chromium.org/648463003
Diffstat (limited to 'src/gpu/effects/GrDitherEffect.cpp')
-rw-r--r-- | src/gpu/effects/GrDitherEffect.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
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 |