| Index: src/gpu/batches/GrStrokeRectBatch.cpp
|
| diff --git a/src/gpu/batches/GrStrokeRectBatch.cpp b/src/gpu/batches/GrStrokeRectBatch.cpp
|
| index c850fb7d9ae9f61bbec331ef6c1dee547796b3e3..9c31149a5b2c41d1eacfb2e8dbd0753c122497f9 100644
|
| --- a/src/gpu/batches/GrStrokeRectBatch.cpp
|
| +++ b/src/gpu/batches/GrStrokeRectBatch.cpp
|
| @@ -28,18 +28,18 @@ GrStrokeRectBatch::GrStrokeRectBatch(const Geometry& geometry, bool snapToPixelC
|
| }
|
| }
|
|
|
| -void GrStrokeRectBatch::initBatchTracker(const GrPipelineInfo& init) {
|
| +void GrStrokeRectBatch::initBatchTracker(const GrPipelineOptimizations& opt) {
|
| // 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();
|
| }
|
|
|
| /* create a triangle strip that strokes the specified rect. There are 8
|
|
|