diff options
author | 2015-01-28 12:53:54 -0800 | |
---|---|---|
committer | 2015-01-28 12:53:54 -0800 | |
commit | 4d8da81562852e0ff7e18b66ee1cebd50ad81ee8 (patch) | |
tree | 42ca42baff53262473f93429bc49a6a85e33b7b4 /src/gpu/GrProcOptInfo.h | |
parent | 52f401ee7bdb39f7c9ba6cca4ee1db9b93d5cb45 (diff) |
GrBatchPrototype
BUG=skia:
Committed: https://skia.googlesource.com/skia/+/d15e4e45374275c045572b304c229237c4a82be4
Committed: https://skia.googlesource.com/skia/+/d5a7db4a867c7e6ccf8451a053d987b470099198
Review URL: https://codereview.chromium.org/845103005
Diffstat (limited to 'src/gpu/GrProcOptInfo.h')
-rw-r--r-- | src/gpu/GrProcOptInfo.h | 5 |
1 files changed, 5 insertions, 0 deletions
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); |