Chromium Code Reviews| Index: src/gpu/GrPipeline.h |
| diff --git a/src/gpu/GrPipeline.h b/src/gpu/GrPipeline.h |
| index 8781058247fe438300ac2f5cb919c389aea31c1b..321b73733fc1eebe75a9ee819f5dbae195fb7e76 100644 |
| --- a/src/gpu/GrPipeline.h |
| +++ b/src/gpu/GrPipeline.h |
| @@ -141,6 +141,7 @@ public: |
| /////////////////////////////////////////////////////////////////////////// |
| bool readsFragPosition() const { return fReadsFragPosition; } |
| + bool readsCoverage() const { return fReadsCoverage; } |
| private: |
| GrPipeline() { /** Initialized in factory function*/ } |
| @@ -180,6 +181,7 @@ private: |
| ProgramXferProcessor fXferProcessor; |
| FragmentProcessorArray fFragmentProcessors; |
| bool fReadsFragPosition; |
| + bool fReadsCoverage; // Will this program use coverage? |
|
bsalomon
2015/11/30 15:56:53
Given that this is now moved from XP to Pipeline,
egdaniel
2015/11/30 16:29:14
Done.
|
| // This value is also the index in fFragmentProcessors where coverage processors begin. |
| int fNumColorProcessors; |