diff options
author | bsalomon <bsalomon@google.com> | 2015-07-08 07:55:59 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-07-08 07:55:59 -0700 |
commit | f5179a4c490bc787190321bd8ffdb0e6a4efa9ac (patch) | |
tree | 8b0d83f3f1d95963be2fa3657db6647d12f2be6c /include | |
parent | cc97ece0583b1b1edb8f39d6dc32360d364a0171 (diff) |
Makes GrPipelineInfo a class with query functions used by GrBatch subclasses.
Review URL: https://codereview.chromium.org/1213383005
Diffstat (limited to 'include')
-rw-r--r-- | include/gpu/GrXferProcessor.h | 6 |
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); /** |