| Index: src/effects/gradients/SkGradientShaderPriv.h
|
| diff --git a/src/effects/gradients/SkGradientShaderPriv.h b/src/effects/gradients/SkGradientShaderPriv.h
|
| index 16c6475e339e0d94a6bd07b17f70b76a827a2135..50ad427e4ae1d5f3aa03f37b79e496d930be5b52 100644
|
| --- a/src/effects/gradients/SkGradientShaderPriv.h
|
| +++ b/src/effects/gradients/SkGradientShaderPriv.h
|
| @@ -326,6 +326,7 @@ class GrInvariantOutput;
|
| // Base class for Gr gradient effects
|
| class GrGradientEffect : public GrFragmentProcessor {
|
| public:
|
| + class GLSLProcessor;
|
|
|
| GrGradientEffect(GrContext* ctx,
|
| const SkGradientShaderBase& shader,
|
| @@ -353,7 +354,6 @@ public:
|
| }
|
|
|
| protected:
|
| -
|
| /** Populates a pair of arrays with colors and stop info to construct a random gradient.
|
| The function decides whether stop values should be used or not. The return value indicates
|
| the number of colors, which will be capped by kMaxRandomGradientColors. colors should be
|
| @@ -392,10 +392,10 @@ private:
|
|
|
| ///////////////////////////////////////////////////////////////////////////////
|
|
|
| -// Base class for GL gradient effects
|
| -class GrGLGradientEffect : public GrGLSLFragmentProcessor {
|
| +// Base class for GLSL gradient effects
|
| +class GrGradientEffect::GLSLProcessor : public GrGLSLFragmentProcessor {
|
| public:
|
| - GrGLGradientEffect();
|
| + GLSLProcessor();
|
|
|
| protected:
|
| void onSetData(const GrGLSLProgramDataManager&, const GrProcessor&) override;
|
|
|