Index: src/gpu/GrPathProcessor.cpp |
diff --git a/src/gpu/GrPathProcessor.cpp b/src/gpu/GrPathProcessor.cpp |
index d10c4662e9583bf97955b4ff5c70eadc766de1d1..b372adcff2df7d6e045ed4a3eda90b2b741956af 100644 |
--- a/src/gpu/GrPathProcessor.cpp |
+++ b/src/gpu/GrPathProcessor.cpp |
@@ -30,20 +30,20 @@ void GrPathProcessor::getInvariantOutputCoverage(GrInitInvariantOutput* out) con |
out->setKnownSingleComponent(0xff); |
} |
-void GrPathProcessor::initBatchTracker(GrBatchTracker* bt, const GrPipelineInfo& init) const { |
+void GrPathProcessor::initBatchTracker(GrBatchTracker* bt, const GrPipelineOptimizations& opt) const { |
PathBatchTracker* local = bt->cast<PathBatchTracker>(); |
- if (!init.readsColor()) { |
+ if (!opt.readsColor()) { |
local->fInputColorType = kIgnored_GrGPInput; |
local->fColor = GrColor_ILLEGAL; |
} else { |
local->fInputColorType = kUniform_GrGPInput; |
- if (!init.getOverrideColorIfSet(&local->fColor)) { |
+ if (!opt.getOverrideColorIfSet(&local->fColor)) { |
local->fColor = this->color(); |
} |
} |
- local->fInputCoverageType = init.readsCoverage() ? kAllOnes_GrGPInput : kIgnored_GrGPInput; |
- local->fUsesLocalCoords = init.readsLocalCoords(); |
+ local->fInputCoverageType = opt.readsCoverage() ? kAllOnes_GrGPInput : kIgnored_GrGPInput; |
+ local->fUsesLocalCoords = opt.readsLocalCoords(); |
} |
bool GrPathProcessor::canMakeEqual(const GrBatchTracker& m, |