diff options
author | 2015-09-11 08:19:35 -0700 | |
---|---|---|
committer | 2015-09-11 08:19:35 -0700 | |
commit | 465283cdf98ed9ab5285ca7b9814e430fca1d452 (patch) | |
tree | 12127f410d1e3720ae472f1a5c01f52c00722148 /src/gpu/batches/GrDrawPathBatch.cpp | |
parent | ae48877c37092e96bc89891d3160a60645edb75b (diff) |
Remove batchtracker
BUG=skia:
Review URL: https://codereview.chromium.org/1332923003
Diffstat (limited to 'src/gpu/batches/GrDrawPathBatch.cpp')
-rw-r--r-- | src/gpu/batches/GrDrawPathBatch.cpp | 10 |
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(), |