Index: src/gpu/GrOptDrawState.h |
diff --git a/src/gpu/GrOptDrawState.h b/src/gpu/GrOptDrawState.h |
index 25a3a49995525e36b138bf88e7be96e660ee1bc8..45501b49dd1c4fc4efe8ea9933d07875780cd3e4 100644 |
--- a/src/gpu/GrOptDrawState.h |
+++ b/src/gpu/GrOptDrawState.h |
@@ -84,6 +84,7 @@ public: |
bool hasGeometryProcessor() const { return SkToBool(fGeometryProcessor.get()); } |
const GrGeometryProcessor* getGeometryProcessor() const { return fGeometryProcessor.get(); } |
+ const GrBatchTracker& getBatchTracker() const { return fBatchTracker; } |
const GrXferProcessor* getXferProcessor() const { return fXferProcessor.get(); } |
@@ -233,6 +234,7 @@ private: |
GrBlendCoeff fDstBlend; |
uint32_t fFlags; |
ProgramGeometryProcessor fGeometryProcessor; |
+ GrBatchTracker fBatchTracker; |
ProgramXferProcessor fXferProcessor; |
FragmentStageArray fFragmentStages; |
GrGpu::DrawType fDrawType; |