diff options
author | 2015-09-22 11:38:46 -0700 | |
---|---|---|
committer | 2015-09-22 11:38:46 -0700 | |
commit | aca31fea8ca620bfdb2887641b7ba56e401a72d7 (patch) | |
tree | 9caecaf595521a246cd81aeb74dbd7756046ed18 /include/gpu/GrPaint.h | |
parent | a16e8bcef165aabb2463339e80fdd6f1fa19b8b9 (diff) |
Stop supporting HW dither
Review URL: https://codereview.chromium.org/1359833004
Diffstat (limited to 'include/gpu/GrPaint.h')
-rw-r--r-- | include/gpu/GrPaint.h | 8 |
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; |