aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/gpu/batches/GrDrawPathBatch.cpp
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/batches/GrDrawPathBatch.cpp
parentae48877c37092e96bc89891d3160a60645edb75b (diff)
Remove batchtracker
Diffstat (limited to 'src/gpu/batches/GrDrawPathBatch.cpp')
-rw-r--r--src/gpu/batches/GrDrawPathBatch.cpp10
1 files changed, 4 insertions, 6 deletions
diff --git a/src/gpu/batches/GrDrawPathBatch.cpp b/src/gpu/batches/GrDrawPathBatch.cpp
index 3e4c863e33..a47e665607 100644
--- a/src/gpu/batches/GrDrawPathBatch.cpp
+++ b/src/gpu/batches/GrDrawPathBatch.cpp
@@ -19,10 +19,9 @@ void GrDrawPathBatch::onDraw(GrBatchFlushState* state) {
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 @@ void GrDrawPathRangeBatch::onDraw(GrBatchFlushState* state) {
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(),