aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/gpu/batches/GrTestBatch.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gpu/batches/GrTestBatch.h')
-rw-r--r--src/gpu/batches/GrTestBatch.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/gpu/batches/GrTestBatch.h b/src/gpu/batches/GrTestBatch.h
index c5758bb8d2..55cc5c25a5 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 {