diff options
author | 2015-11-30 10:15:58 -0800 | |
---|---|---|
committer | 2015-11-30 10:15:58 -0800 | |
commit | 56cf6dcb6572f1d355af041c1ebf157b2b3d0165 (patch) | |
tree | b4bff299b4a41c8fc3cb02651cb8a252de50d3d5 /src/gpu/GrPipeline.h | |
parent | b1514801cc519b36d5d064c6d70dfdd788474f5d (diff) |
Create a static instances of SrcOver XferProcessor
BUG=skia:
Review URL: https://codereview.chromium.org/1471293003
Diffstat (limited to 'src/gpu/GrPipeline.h')
-rw-r--r-- | src/gpu/GrPipeline.h | 2 |
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; |