Index: src/gpu/GrPipelineBuilder.h |
diff --git a/src/gpu/GrPipelineBuilder.h b/src/gpu/GrPipelineBuilder.h |
index 010685b3e2a85dce11a8082aa741810da0a37319..fea9c406f5740156c4d4c4d23a23f4fb630878f4 100644 |
--- a/src/gpu/GrPipelineBuilder.h |
+++ b/src/gpu/GrPipelineBuilder.h |
@@ -363,15 +363,7 @@ public: |
/////////////////////////////////////////////////////////////////////////// |
- const GrProcOptInfo& colorProcInfo(const GrDrawBatch* batch) const { |
- this->calcColorInvariantOutput(batch); |
- return fColorProcInfo; |
- } |
- |
- const GrProcOptInfo& coverageProcInfo(const GrDrawBatch* batch) const { |
- this->calcCoverageInvariantOutput(batch); |
- return fCoverageProcInfo; |
- } |
+ bool usePLSDstRead(const GrDrawBatch* batch) const; |
void setClip(const GrClip& clip) { fClip = clip; } |
const GrClip& clip() const { return fClip; } |
@@ -387,8 +379,8 @@ private: |
/** |
* GrBatch provides the initial seed for these loops based off of its initial geometry data |
*/ |
- void calcColorInvariantOutput(const GrDrawBatch*) const; |
- void calcCoverageInvariantOutput(const GrDrawBatch*) const; |
+ void computeBatchToXPOverrides(GrInitInvariantOutput* color, GrInitInvariantOutput* coverage, |
+ bool* usePLSDstRead) const; |
joshualitt
2015/11/23 19:09:29
Remove
|
// Some of the auto restore objects assume that no effects are removed during their lifetime. |
// This is used to assert that this condition holds. |
@@ -405,10 +397,8 @@ private: |
FragmentProcessorArray fCoverageFragmentProcessors; |
GrClip fClip; |
- mutable GrProcOptInfo fColorProcInfo; |
- mutable GrProcOptInfo fCoverageProcInfo; |
- |
friend class GrPipeline; |
+ friend class GrDrawTarget; |
}; |
#endif |