Index: src/gpu/GrDefaultPathRenderer.cpp |
diff --git a/src/gpu/GrDefaultPathRenderer.cpp b/src/gpu/GrDefaultPathRenderer.cpp |
index 216ea868328936b711922795ddee0ebbff15977a..0678438ea1bd535dc6f2dad6c66770757d1906e5 100644 |
--- a/src/gpu/GrDefaultPathRenderer.cpp |
+++ b/src/gpu/GrDefaultPathRenderer.cpp |
@@ -236,18 +236,18 @@ public: |
out->setKnownSingleComponent(this->coverage()); |
} |
- void initBatchTracker(const GrPipelineInfo& init) override { |
+ void initBatchTracker(const GrPipelineOptimizations& opt) override { |
// Handle any color overrides |
- if (!init.readsColor()) { |
+ if (!opt.readsColor()) { |
fGeoData[0].fColor = GrColor_ILLEGAL; |
} |
- init.getOverrideColorIfSet(&fGeoData[0].fColor); |
+ opt.getOverrideColorIfSet(&fGeoData[0].fColor); |
// setup batch properties |
- fBatch.fColorIgnored = !init.readsColor(); |
+ fBatch.fColorIgnored = !opt.readsColor(); |
fBatch.fColor = fGeoData[0].fColor; |
- fBatch.fUsesLocalCoords = init.readsLocalCoords(); |
- fBatch.fCoverageIgnored = !init.readsCoverage(); |
+ fBatch.fUsesLocalCoords = opt.readsLocalCoords(); |
+ fBatch.fCoverageIgnored = !opt.readsCoverage(); |
} |
void generateGeometry(GrBatchTarget* batchTarget) override { |