diff options
Diffstat (limited to 'src/effects/gradients/SkGradientShaderPriv.h')
-rw-r--r-- | src/effects/gradients/SkGradientShaderPriv.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/effects/gradients/SkGradientShaderPriv.h b/src/effects/gradients/SkGradientShaderPriv.h index 6f46698eba..48ccbd50d0 100644 --- a/src/effects/gradients/SkGradientShaderPriv.h +++ b/src/effects/gradients/SkGradientShaderPriv.h @@ -352,6 +352,8 @@ public: class GLSLProcessor; + GrGradientEffect(const CreateArgs&); + virtual ~GrGradientEffect(); bool useAtlas() const { return SkToBool(-1 != fRow); } @@ -400,8 +402,6 @@ public: } protected: - GrGradientEffect(const CreateArgs&, bool isOpaque); - /** Helper struct that stores (and populates) parameters to construct a random gradient. If fUseColors4f is true, then the SkColor4f factory should be called, with fColors4f and fColorSpace. Otherwise, the SkColor factory should be called, with fColors. fColorCount @@ -430,8 +430,6 @@ protected: const GrCoordTransform& getCoordTransform() const { return fCoordTransform; } private: - static OptimizationFlags OptFlags(bool isOpaque); - // If we're in legacy mode, then fColors will be populated. If we're gamma-correct, then // fColors4f and fColorSpaceXform will be populated. SkTDArray<SkColor> fColors; |