aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/gpu/GrAADistanceFieldPathRenderer.cpp
diff options
context:
space:
mode:
authorGravatar joshualitt <joshualitt@chromium.org>2015-03-31 13:32:05 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2015-03-31 13:32:05 -0700
commit7c3a2f834e0ba3f11a3129d5348b393efcc9b0e1 (patch)
treec3db9be6811f50b7f43320253779ff8c3aaaba69 /src/gpu/GrAADistanceFieldPathRenderer.cpp
parent7b6db098051c52c0454c0f00445353c6fc33f810 (diff)
BitmapTextBatch and BitmapTextBlob
Diffstat (limited to 'src/gpu/GrAADistanceFieldPathRenderer.cpp')
-rwxr-xr-xsrc/gpu/GrAADistanceFieldPathRenderer.cpp8
1 files changed, 2 insertions, 6 deletions
diff --git a/src/gpu/GrAADistanceFieldPathRenderer.cpp b/src/gpu/GrAADistanceFieldPathRenderer.cpp
index 8b119f0b23..789406bdbc 100755
--- a/src/gpu/GrAADistanceFieldPathRenderer.cpp
+++ b/src/gpu/GrAADistanceFieldPathRenderer.cpp
@@ -293,8 +293,7 @@ public:
instancesToFlush++;
}
- this->flush(batchTarget, dfProcessor, pipeline, &drawInfo, instancesToFlush,
- maxInstancesPerDraw);
+ this->flush(batchTarget, &drawInfo, instancesToFlush, maxInstancesPerDraw);
}
SkSTArray<1, Geometry, true>* geoData() { return &fGeoData; }
@@ -421,8 +420,7 @@ private:
bool success = atlas->addToAtlas(&id, batchTarget, width, height, dfStorage.get(),
&atlasLocation);
if (!success) {
- this->flush(batchTarget, dfProcessor, pipeline, drawInfo, *instancesToFlush,
- maxInstancesPerDraw);
+ this->flush(batchTarget, drawInfo, *instancesToFlush, maxInstancesPerDraw);
this->initDraw(batchTarget, dfProcessor, pipeline);
*instancesToFlush = 0;
@@ -516,8 +514,6 @@ private:
}
void flush(GrBatchTarget* batchTarget,
- const GrGeometryProcessor* dfProcessor,
- const GrPipeline* pipeline,
GrDrawTarget::DrawInfo* drawInfo,
int instanceCount,
int maxInstancesPerDraw) {