Index: src/gpu/GrProcOptInfo.h |
diff --git a/src/gpu/GrProcOptInfo.h b/src/gpu/GrProcOptInfo.h |
index 43d6c558f1d4749c158b8be1bb0495d3d07218ca..687317365901f6d4aef75eae3083f0678c26899e 100644 |
--- a/src/gpu/GrProcOptInfo.h |
+++ b/src/gpu/GrProcOptInfo.h |
@@ -11,6 +11,8 @@ |
#include "GrColor.h" |
#include "GrInvariantOutput.h" |
+class GrBatch; |
+class GrBatchOpt; |
class GrFragmentStage; |
class GrFragmentProcessor; |
class GrPrimitiveProcessor; |
@@ -34,6 +36,12 @@ public: |
void calcWithInitialValues(const GrFragmentStage*, int stageCount, GrColor startColor, |
GrColorComponentFlags flags, bool areCoverageStages); |
+ void calcColorWithBatch(const GrBatch*, const GrBatchOpt&, const GrFragmentStage*, |
+ int stagecount); |
+ void calcCoverageWithBatch(const GrBatch*, const GrBatchOpt&, const GrFragmentStage*, |
+ int stagecount); |
+ |
+ // TODO delete these when batch is everywhere |
void calcColorWithPrimProc(const GrPrimitiveProcessor*, const GrFragmentStage*, int stagecount); |
void calcCoverageWithPrimProc(const GrPrimitiveProcessor*, const GrFragmentStage*, |
int stagecount); |