| Index: src/gpu/GrDrawState.h
|
| diff --git a/src/gpu/GrDrawState.h b/src/gpu/GrDrawState.h
|
| index a049f1d8071e725d9dc96a3a1ac5b09a1c9dadbf..8a2aed69c3dd6698864f3eec8bcdbadc80f1a741 100644
|
| --- a/src/gpu/GrDrawState.h
|
| +++ b/src/gpu/GrDrawState.h
|
| @@ -215,6 +215,11 @@ public:
|
| }
|
| }
|
|
|
| + /**
|
| + * Determines whether the output of the coverage stages will be single component.
|
| + */
|
| + bool coverageWillBeSingleComponent() const;
|
| +
|
| /// @}
|
|
|
| /**
|
| @@ -260,6 +265,9 @@ public:
|
|
|
| bool hasGeometryProcessor() const { return SkToBool(fGeometryProcessor.get()); }
|
| const GrGeometryProcessor* getGeometryProcessor() const { return fGeometryProcessor.get(); }
|
| +
|
| + const GrXPFactory* getXPFactory() const { return fXPFactory.get(); }
|
| +
|
| const GrFragmentStage& getColorStage(int idx) const { return fColorStages[idx]; }
|
| const GrFragmentStage& getCoverageStage(int idx) const { return fCoverageStages[idx]; }
|
|
|
| @@ -783,6 +791,7 @@ private:
|
| GrBlendCoeff fSrcBlend;
|
| GrBlendCoeff fDstBlend;
|
| SkAutoTUnref<const GrGeometryProcessor> fGeometryProcessor;
|
| + SkAutoTUnref<const GrXPFactory> fXPFactory;
|
| FragmentStageArray fColorStages;
|
| FragmentStageArray fCoverageStages;
|
| uint32_t fHints;
|
|
|