Chromium Code Reviews| Index: src/gpu/GrProcOptInfo.h |
| diff --git a/src/gpu/GrProcOptInfo.h b/src/gpu/GrProcOptInfo.h |
| index caf53d773ace6dc919f2cdb6170ce50e349622f5..3452fb2db580c9abf6b53cc11037f9db1b4a3bf5 100644 |
| --- a/src/gpu/GrProcOptInfo.h |
| +++ b/src/gpu/GrProcOptInfo.h |
| @@ -32,10 +32,9 @@ public: |
| void calcWithInitialValues(const GrFragmentProcessor* const *, int cnt, GrColor startColor, |
| GrColorComponentFlags, bool areCoverageStages, bool isLCD = false); |
| - |
| - void calcColorWithBatch(const GrDrawBatch*, const GrFragmentProcessor* const[], int cnt); |
| - void calcCoverageWithBatch(const GrDrawBatch*, const GrFragmentProcessor* const[], int cnt); |
| - |
| + void initUsingInvariantOutput(GrInitInvariantOutput invOutput); |
| + void completeCalculations(const GrFragmentProcessor * const processors[], int cnt); |
| + |
| bool isSolidWhite() const { return fInOut.isSolidWhite(); } |
| bool isOpaque() const { return fInOut.isOpaque(); } |
| bool isSingleComponent() const { return fInOut.isSingleComponent(); } |
| @@ -89,6 +88,8 @@ private: |
| bool fInputColorIsUsed; |
| GrColor fInputColor; |
| bool fReadsFragPosition; |
| + |
| + friend class GrPipelineBuilder; |
|
egdaniel
2015/11/24 00:08:14
does this need to be friended?
|
| }; |
| #endif |