| Index: src/gpu/GrAALinearizingConvexPathRenderer.cpp
|
| diff --git a/src/gpu/GrAALinearizingConvexPathRenderer.cpp b/src/gpu/GrAALinearizingConvexPathRenderer.cpp
|
| index 8d4cd5fee2faa0b726c8af30c59eecaf93cdc2f7..b4abc0143cadd3df2248f54244c74fa66b9b77e0 100644
|
| --- a/src/gpu/GrAALinearizingConvexPathRenderer.cpp
|
| +++ b/src/gpu/GrAALinearizingConvexPathRenderer.cpp
|
| @@ -139,20 +139,20 @@ public:
|
| out->setUnknownSingleComponent();
|
| }
|
|
|
| - 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();
|
| fBatch.fLinesOnly = SkPath::kLine_SegmentMask == fGeoData[0].fPath.getSegmentMasks();
|
| - fBatch.fCanTweakAlphaForCoverage = init.canTweakAlphaForCoverage();
|
| + fBatch.fCanTweakAlphaForCoverage = opt.canTweakAlphaForCoverage();
|
| }
|
|
|
| void draw(GrBatchTarget* batchTarget, const GrPipeline* pipeline, int vertexCount,
|
|
|