Index: include/gpu/GrXferProcessor.h |
diff --git a/include/gpu/GrXferProcessor.h b/include/gpu/GrXferProcessor.h |
index 41f8abb74058503441e8fa94dbeb27f7310bdfe5..332d9d2e23cc865e3d3170a70a882fb2eb7f58e9 100644 |
--- a/include/gpu/GrXferProcessor.h |
+++ b/include/gpu/GrXferProcessor.h |
@@ -104,6 +104,10 @@ |
*/ |
enum OptFlags { |
/** |
+ * No optimizations needed |
+ */ |
+ kNone_Opt = 0, |
+ /** |
* The draw can be skipped completely. |
*/ |
kSkipDraw_OptFlag = 0x1, |
@@ -124,8 +128,6 @@ |
*/ |
kCanTweakAlphaForCoverage_OptFlag = 0x20, |
}; |
- |
- static const OptFlags kNone_OptFlags = (OptFlags)0; |
GR_DECL_BITFIELD_OPS_FRIENDS(OptFlags); |