Remove batchtracker
BUG=skia:
Review URL: https://codereview.chromium.org/1332923003
diff --git a/src/gpu/batches/GrDrawPathBatch.cpp b/src/gpu/batches/GrDrawPathBatch.cpp
index 3e4c863..a47e665 100644
--- a/src/gpu/batches/GrDrawPathBatch.cpp
+++ b/src/gpu/batches/GrDrawPathBatch.cpp
@@ -19,10 +19,9 @@
SkAutoTUnref<GrPathProcessor> pathProc(GrPathProcessor::Create(this->color(),
this->opts(),
this->viewMatrix()));
- state->gpu()->buildProgramDesc(&desc, *pathProc,
- *this->pipeline(), *this->tracker());
+ state->gpu()->buildProgramDesc(&desc, *pathProc, *this->pipeline());
GrPathRendering::DrawPathArgs args(pathProc, this->pipeline(),
- &desc, this->tracker(), &this->stencilSettings());
+ &desc, &this->stencilSettings());
state->gpu()->pathRendering()->drawPath(args, fPath.get());
}
@@ -113,10 +112,9 @@
this->opts(),
this->viewMatrix(),
fLocalMatrix));
- state->gpu()->buildProgramDesc(&desc, *pathProc, *this->pipeline(),
- *this->tracker());
+ state->gpu()->buildProgramDesc(&desc, *pathProc, *this->pipeline());
GrPathRendering::DrawPathArgs args(pathProc, this->pipeline(),
- &desc, this->tracker(), &this->stencilSettings());
+ &desc, &this->stencilSettings());
if (fDraws.count() == 1) {
const GrPathRangeDraw& draw = **fDraws.head();
state->gpu()->pathRendering()->drawPaths(args, draw.range(), draw.indices(),