aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/gpu/GrPipeline.h
diff options
context:
space:
mode:
authorGravatar egdaniel <egdaniel@google.com>2015-11-30 10:15:58 -0800
committerGravatar Commit bot <commit-bot@chromium.org>2015-11-30 10:15:58 -0800
commit56cf6dcb6572f1d355af041c1ebf157b2b3d0165 (patch)
treeb4bff299b4a41c8fc3cb02651cb8a252de50d3d5 /src/gpu/GrPipeline.h
parentb1514801cc519b36d5d064c6d70dfdd788474f5d (diff)
Create a static instances of SrcOver XferProcessor
Diffstat (limited to 'src/gpu/GrPipeline.h')
-rw-r--r--src/gpu/GrPipeline.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gpu/GrPipeline.h b/src/gpu/GrPipeline.h
index 2d909be482..fbfe119ac0 100644
--- a/src/gpu/GrPipeline.h
+++ b/src/gpu/GrPipeline.h
@@ -150,6 +150,7 @@ public:
///////////////////////////////////////////////////////////////////////////
bool readsFragPosition() const { return fReadsFragPosition; }
+ bool ignoresCoverage() const { return fIgnoresCoverage; }
private:
GrPipeline() { /** Initialized in factory function*/ }
@@ -189,6 +190,7 @@ private:
ProgramXferProcessor fXferProcessor;
FragmentProcessorArray fFragmentProcessors;
bool fReadsFragPosition;
+ bool fIgnoresCoverage;
// This value is also the index in fFragmentProcessors where coverage processors begin.
int fNumColorProcessors;