aboutsummaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authorGravatar bsalomon <bsalomon@google.com>2015-07-08 11:26:37 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2015-07-08 11:26:37 -0700
commit7765a477ee3ca5e2c6ada1e16c31dfaae2079240 (patch)
tree3113544da7de570eb1100fd80d8e467dce424760 /include
parentc1d1dd738e8dda1dd439f8e2b065ec73b5c12b51 (diff)
Makes GrPipelineInfo a class with query functions used by GrBatch subclasses.
Diffstat (limited to 'include')
-rw-r--r--include/gpu/GrXferProcessor.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/include/gpu/GrXferProcessor.h b/include/gpu/GrXferProcessor.h
index 332d9d2e23..41f8abb740 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);
/**