Index: src/gpu/GrDrawState.h |
diff --git a/src/gpu/GrDrawState.h b/src/gpu/GrDrawState.h |
index a236d1a55986b3aa717f24a272c7d069f28660c7..39163ff5eed75f787b70f498d3dc0b76f8c6ecb9 100644 |
--- a/src/gpu/GrDrawState.h |
+++ b/src/gpu/GrDrawState.h |
@@ -203,6 +203,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]; } |
@@ -721,6 +724,7 @@ private: |
GrBlendCoeff fSrcBlend; |
GrBlendCoeff fDstBlend; |
SkAutoTUnref<const GrGeometryProcessor> fGeometryProcessor; |
+ SkAutoTUnref<const GrXPFactory> fXPFactory; |
FragmentStageArray fColorStages; |
FragmentStageArray fCoverageStages; |
uint32_t fHints; |