diff options
author | Florin Malita <fmalita@chromium.org> | 2017-06-19 16:07:57 -0400 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2017-06-19 20:36:34 +0000 |
commit | 74c3680eba9474908f713359f8d044643ca3cde6 (patch) | |
tree | 30e4a5d72819ddb47e1431b2554fe4ac014b47ac /src/shaders | |
parent | 15200bd8b35e8948e0ab9d07ec2a594a55feabcd (diff) |
Remove unused GradientShaderBase4fContext::fDither
Change-Id: I8f44cdaa8033e0a1fc45e1be446bf2d9a5bab507
Reviewed-on: https://skia-review.googlesource.com/20283
Reviewed-by: Florin Malita <fmalita@chromium.org>
Reviewed-by: Mike Klein <mtklein@google.com>
Commit-Queue: Florin Malita <fmalita@chromium.org>
Diffstat (limited to 'src/shaders')
-rw-r--r-- | src/shaders/gradients/Sk4fGradientBase.cpp | 5 | ||||
-rw-r--r-- | src/shaders/gradients/Sk4fGradientBase.h | 1 |
2 files changed, 0 insertions, 6 deletions
diff --git a/src/shaders/gradients/Sk4fGradientBase.cpp b/src/shaders/gradients/Sk4fGradientBase.cpp index cb0fcd0513..f5d5e7155e 100644 --- a/src/shaders/gradients/Sk4fGradientBase.cpp +++ b/src/shaders/gradients/Sk4fGradientBase.cpp @@ -288,11 +288,6 @@ GradientShaderBase4fContext::GradientShaderBase4fContext(const SkGradientShaderB const ContextRec& rec) : INHERITED(shader, rec) , fFlags(this->INHERITED::getFlags()) -#ifdef SK_SUPPORT_LEGACY_GRADIENT_DITHERING - , fDither(true) -#else - , fDither(rec.fPaint->isDither()) -#endif { SkASSERT(rec.fPreferredDstType == ContextRec::kPM4f_DstType); diff --git a/src/shaders/gradients/Sk4fGradientBase.h b/src/shaders/gradients/Sk4fGradientBase.h index 3e83d04c49..acba642fd7 100644 --- a/src/shaders/gradients/Sk4fGradientBase.h +++ b/src/shaders/gradients/Sk4fGradientBase.h @@ -73,7 +73,6 @@ protected: SkMatrix::MapXYProc fDstToPosProc; uint8_t fDstToPosClass; uint8_t fFlags; - bool fDither; bool fColorsArePremul; private: |