| Index: src/gpu/GrAADistanceFieldPathRenderer.cpp
|
| diff --git a/src/gpu/GrAADistanceFieldPathRenderer.cpp b/src/gpu/GrAADistanceFieldPathRenderer.cpp
|
| index 789406bdbcb04fd96ffcc6f4062c69d16e9e509d..8b119f0b23a8b59dca90dd9ac65f7b28bc7eb463 100755
|
| --- a/src/gpu/GrAADistanceFieldPathRenderer.cpp
|
| +++ b/src/gpu/GrAADistanceFieldPathRenderer.cpp
|
| @@ -293,7 +293,8 @@
|
| instancesToFlush++;
|
| }
|
|
|
| - this->flush(batchTarget, &drawInfo, instancesToFlush, maxInstancesPerDraw);
|
| + this->flush(batchTarget, dfProcessor, pipeline, &drawInfo, instancesToFlush,
|
| + maxInstancesPerDraw);
|
| }
|
|
|
| SkSTArray<1, Geometry, true>* geoData() { return &fGeoData; }
|
| @@ -420,7 +421,8 @@
|
| bool success = atlas->addToAtlas(&id, batchTarget, width, height, dfStorage.get(),
|
| &atlasLocation);
|
| if (!success) {
|
| - this->flush(batchTarget, drawInfo, *instancesToFlush, maxInstancesPerDraw);
|
| + this->flush(batchTarget, dfProcessor, pipeline, drawInfo, *instancesToFlush,
|
| + maxInstancesPerDraw);
|
| this->initDraw(batchTarget, dfProcessor, pipeline);
|
| *instancesToFlush = 0;
|
|
|
| @@ -514,6 +516,8 @@
|
| }
|
|
|
| void flush(GrBatchTarget* batchTarget,
|
| + const GrGeometryProcessor* dfProcessor,
|
| + const GrPipeline* pipeline,
|
| GrDrawTarget::DrawInfo* drawInfo,
|
| int instanceCount,
|
| int maxInstancesPerDraw) {
|
|
|