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

Unified Diff: include/gpu/GrXferProcessor.h

Issue 1213383005: Rework GrPipelineInfo (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: fixed Created 5 years, 5 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
« no previous file with comments | « no previous file | src/effects/SkArithmeticMode_gpu.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: include/gpu/GrXferProcessor.h
diff --git a/include/gpu/GrXferProcessor.h b/include/gpu/GrXferProcessor.h
index 332d9d2e23cc865e3d3170a70a882fb2eb7f58e9..41f8abb74058503441e8fa94dbeb27f7310bdfe5 100644
--- a/include/gpu/GrXferProcessor.h
+++ b/include/gpu/GrXferProcessor.h
@@ -104,10 +104,6 @@ public:
*/
enum OptFlags {
/**
- * No optimizations needed
- */
- kNone_Opt = 0,
- /**
* The draw can be skipped completely.
*/
kSkipDraw_OptFlag = 0x1,
@@ -129,6 +125,8 @@ public:
kCanTweakAlphaForCoverage_OptFlag = 0x20,
};
+ static const OptFlags kNone_OptFlags = (OptFlags)0;
+
GR_DECL_BITFIELD_OPS_FRIENDS(OptFlags);
/**
« no previous file with comments | « no previous file | src/effects/SkArithmeticMode_gpu.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698