aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/gpu/GrPaint.h
diff options
context:
space:
mode:
authorGravatar bsalomon <bsalomon@google.com>2015-09-22 11:38:46 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2015-09-22 11:38:46 -0700
commitaca31fea8ca620bfdb2887641b7ba56e401a72d7 (patch)
tree9caecaf595521a246cd81aeb74dbd7756046ed18 /include/gpu/GrPaint.h
parenta16e8bcef165aabb2463339e80fdd6f1fa19b8b9 (diff)
Stop supporting HW dither
Diffstat (limited to 'include/gpu/GrPaint.h')
-rw-r--r--include/gpu/GrPaint.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/include/gpu/GrPaint.h b/include/gpu/GrPaint.h
index 51a49210c6..d52c6baec9 100644
--- a/include/gpu/GrPaint.h
+++ b/include/gpu/GrPaint.h
@@ -57,12 +57,6 @@ public:
void setAntiAlias(bool aa) { fAntiAlias = aa; }
bool isAntiAlias() const { return fAntiAlias; }
- /**
- * Should dithering be applied. Defaults to false.
- */
- void setDither(bool dither) { fDither = dither; }
- bool isDither() const { return fDither; }
-
const GrXPFactory* setXPFactory(const GrXPFactory* xpFactory) {
fXPFactory.reset(SkRef(xpFactory));
return xpFactory;
@@ -122,7 +116,6 @@ public:
GrPaint& operator=(const GrPaint& paint) {
fAntiAlias = paint.fAntiAlias;
- fDither = paint.fDither;
fColor = paint.fColor;
this->resetFragmentProcessors();
@@ -169,7 +162,6 @@ private:
SkSTArray<2, const GrFragmentProcessor*, true> fCoverageFragmentProcessors;
bool fAntiAlias;
- bool fDither;
GrColor fColor;
GrProcessorDataManager fProcDataManager;