diff options
author | 2014-07-21 08:03:14 -0700 | |
---|---|---|
committer | 2014-07-21 08:03:14 -0700 | |
commit | 63e99f7a03b2ac90ae7a00232674fd39c0bdcc68 (patch) | |
tree | 9fcb7021404fdae422202dfff1e4a4e12106fb8c /src/gpu/effects/GrYUVtoRGBEffect.cpp | |
parent | 3f8540346df30f2b681bcffd42edac15d609aec4 (diff) |
Allow GrGLEffects to produce variable length keys.
R=robertphillips@google.com, jvanverth@google.com
Author: bsalomon@google.com
Review URL: https://codereview.chromium.org/385713005
Diffstat (limited to 'src/gpu/effects/GrYUVtoRGBEffect.cpp')
-rw-r--r-- | src/gpu/effects/GrYUVtoRGBEffect.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gpu/effects/GrYUVtoRGBEffect.cpp b/src/gpu/effects/GrYUVtoRGBEffect.cpp index 76b85810c1..15e51a2c62 100644 --- a/src/gpu/effects/GrYUVtoRGBEffect.cpp +++ b/src/gpu/effects/GrYUVtoRGBEffect.cpp @@ -37,7 +37,7 @@ public: class GLEffect : public GrGLEffect { public: // this class always generates the same code. - static EffectKey GenKey(const GrDrawEffect&, const GrGLCaps&) { return 0; } + static void GenKey(const GrDrawEffect&, const GrGLCaps&, GrEffectKeyBuilder*) {} GLEffect(const GrBackendEffectFactory& factory, const GrDrawEffect&) @@ -46,7 +46,7 @@ public: virtual void emitCode(GrGLShaderBuilder* builder, const GrDrawEffect&, - EffectKey, + const GrEffectKey&, const char* outputColor, const char* inputColor, const TransformedCoordsArray& coords, |