aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/gpu/gl/GrGLPrimitiveProcessor.h
diff options
context:
space:
mode:
authorGravatar joshualitt <joshualitt@chromium.org>2015-09-11 08:19:35 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2015-09-11 08:19:35 -0700
commit465283cdf98ed9ab5285ca7b9814e430fca1d452 (patch)
tree12127f410d1e3720ae472f1a5c01f52c00722148 /src/gpu/gl/GrGLPrimitiveProcessor.h
parentae48877c37092e96bc89891d3160a60645edb75b (diff)
Remove batchtracker
Diffstat (limited to 'src/gpu/gl/GrGLPrimitiveProcessor.h')
-rw-r--r--src/gpu/gl/GrGLPrimitiveProcessor.h7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/gpu/gl/GrGLPrimitiveProcessor.h b/src/gpu/gl/GrGLPrimitiveProcessor.h
index 474b5f460c..4f2a4848b4 100644
--- a/src/gpu/gl/GrGLPrimitiveProcessor.h
+++ b/src/gpu/gl/GrGLPrimitiveProcessor.h
@@ -31,7 +31,6 @@ public:
struct EmitArgs {
EmitArgs(GrGLGPBuilder* pb,
const GrPrimitiveProcessor& gp,
- const GrBatchTracker& bt,
const char* outputColor,
const char* outputCoverage,
const TextureSamplerArray& samplers,
@@ -39,7 +38,6 @@ public:
TransformsOut* transformsOut)
: fPB(pb)
, fGP(gp)
- , fBT(bt)
, fOutputColor(outputColor)
, fOutputCoverage(outputCoverage)
, fSamplers(samplers)
@@ -47,7 +45,6 @@ public:
, fTransformsOut(transformsOut) {}
GrGLGPBuilder* fPB;
const GrPrimitiveProcessor& fGP;
- const GrBatchTracker& fBT;
const char* fOutputColor;
const char* fOutputCoverage;
const TextureSamplerArray& fSamplers;
@@ -68,9 +65,7 @@ public:
GrPrimitiveProcessor parameter is guaranteed to be of the same type that created this
GrGLPrimitiveProcessor and to have an identical processor key as the one that created this
GrGLPrimitiveProcessor. */
- virtual void setData(const GrGLProgramDataManager&,
- const GrPrimitiveProcessor&,
- const GrBatchTracker&) = 0;
+ virtual void setData(const GrGLProgramDataManager&, const GrPrimitiveProcessor&) = 0;
static SkMatrix GetTransformMatrix(const SkMatrix& localMatrix, const GrCoordTransform&);