From 4d8da81562852e0ff7e18b66ee1cebd50ad81ee8 Mon Sep 17 00:00:00 2001 From: joshualitt Date: Wed, 28 Jan 2015 12:53:54 -0800 Subject: GrBatchPrototype BUG=skia: Committed: https://skia.googlesource.com/skia/+/d15e4e45374275c045572b304c229237c4a82be4 Committed: https://skia.googlesource.com/skia/+/d5a7db4a867c7e6ccf8451a053d987b470099198 Review URL: https://codereview.chromium.org/845103005 --- src/gpu/GrProcOptInfo.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/gpu/GrProcOptInfo.h') diff --git a/src/gpu/GrProcOptInfo.h b/src/gpu/GrProcOptInfo.h index 75d88c64e2..6e8f615d2c 100644 --- a/src/gpu/GrProcOptInfo.h +++ b/src/gpu/GrProcOptInfo.h @@ -11,6 +11,7 @@ #include "GrColor.h" #include "GrInvariantOutput.h" +class GrBatch; class GrFragmentStage; class GrFragmentProcessor; class GrPrimitiveProcessor; @@ -33,6 +34,10 @@ public: void calcWithInitialValues(const GrFragmentStage*, int stageCount, GrColor startColor, GrColorComponentFlags flags, bool areCoverageStages); + void calcColorWithBatch(const GrBatch*, const GrFragmentStage*, int stagecount); + void calcCoverageWithBatch(const GrBatch*, 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); -- cgit v1.2.3