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

Unified Diff: src/gpu/GrDrawState.h

Issue 628633003: gl programs rewrite (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 6 years, 2 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/GrDrawState.h
diff --git a/src/gpu/GrDrawState.h b/src/gpu/GrDrawState.h
index b855c8725bf1381d953b6db693082d2049ed4215..08df68e8c9760997d1eae380e4c595baec179cd3 100644
--- a/src/gpu/GrDrawState.h
+++ b/src/gpu/GrDrawState.h
@@ -684,7 +684,10 @@ public:
/// Hints that when provided can enable optimizations.
////
- enum Hints { kVertexColorsAreOpaque_Hint = 0x1, };
+ enum Hints {
+ kVertexColorsAreOpaque_Hint = 0x1,
+ kLast_Hint = kVertexColorsAreOpaque_Hint
+ };
void setHint(Hints hint, bool value) { fHints = value ? (fHints | hint) : (fHints & ~hint); }

Powered by Google App Engine
This is Rietveld 408576698