Chromium Code Reviews| Index: src/gpu/GrDrawState.h |
| diff --git a/src/gpu/GrDrawState.h b/src/gpu/GrDrawState.h |
| index 97516e80432190adc444b68cf306e55ae5a68933..9bbaea3c1d77aa6642313d5c831d0eb517f40045 100644 |
| --- a/src/gpu/GrDrawState.h |
| +++ b/src/gpu/GrDrawState.h |
| @@ -249,6 +249,7 @@ public: |
| int numColorStages() const { return fColorStages.count(); } |
| int numCoverageStages() const { return fCoverageStages.count(); } |
| + int numFragmentStages() const { return this->numColorStages() + this->numCoverageStages(); } |
| int numTotalStages() const { |
| return this->numColorStages() + this->numCoverageStages() + |
|
egdaniel
2014/11/10 16:28:06
Should we just make this numFragmentStages() inste
|
| (this->hasGeometryProcessor() ? 1 : 0); |