Index: src/gpu/batches/GrTestBatch.h |
diff --git a/src/gpu/batches/GrTestBatch.h b/src/gpu/batches/GrTestBatch.h |
index c5758bb8d2928f6b2b88bf9fbc7322b0388625fc..55cc5c25a5ede4410c09c1c041c42b62b88f3d7a 100644 |
--- a/src/gpu/batches/GrTestBatch.h |
+++ b/src/gpu/batches/GrTestBatch.h |
@@ -33,18 +33,18 @@ 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()) { |
this->geoData(0)->fColor = GrColor_ILLEGAL; |
} |
- init.getOverrideColorIfSet(&this->geoData(0)->fColor); |
+ opt.getOverrideColorIfSet(&this->geoData(0)->fColor); |
// setup batch properties |
- fBatch.fColorIgnored = !init.readsColor(); |
+ fBatch.fColorIgnored = !opt.readsColor(); |
fBatch.fColor = this->geoData(0)->fColor; |
- fBatch.fUsesLocalCoords = init.readsLocalCoords(); |
- fBatch.fCoverageIgnored = !init.readsCoverage(); |
+ fBatch.fUsesLocalCoords = opt.readsLocalCoords(); |
+ fBatch.fCoverageIgnored = !opt.readsCoverage(); |
} |
void generateGeometry(GrBatchTarget* batchTarget) override { |