Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(293)

Unified Diff: src/gpu/effects/GrDitherEffect.cpp

Issue 1734163002: Replace fWillReadFragmentPosition with a bitfield (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: src/gpu/effects/GrDitherEffect.cpp
diff --git a/src/gpu/effects/GrDitherEffect.cpp b/src/gpu/effects/GrDitherEffect.cpp
index 39d4063a5892255731359d18443244edb17655c8..6bb984b0a6e035de927997bc0e377776ea04bc3f 100644
--- a/src/gpu/effects/GrDitherEffect.cpp
+++ b/src/gpu/effects/GrDitherEffect.cpp
@@ -27,7 +27,7 @@ public:
private:
DitherEffect() {
this->initClassID<DitherEffect>();
- this->setWillReadFragmentPosition();
+ this->enableBuiltInState(kFragmentPosition_BuiltInState);
}
GrGLSLFragmentProcessor* onCreateGLSLInstance() const override;

Powered by Google App Engine
This is Rietveld 408576698