Index: src/gpu/batches/GrNonAAStrokeRectBatch.cpp |
diff --git a/src/gpu/batches/GrNonAAStrokeRectBatch.cpp b/src/gpu/batches/GrNonAAStrokeRectBatch.cpp |
index a5de607c8192223848eda55ad672038b30a46ebc..b50bbee30b93d404a88438c2a860153b8eb91b46 100644 |
--- a/src/gpu/batches/GrNonAAStrokeRectBatch.cpp |
+++ b/src/gpu/batches/GrNonAAStrokeRectBatch.cpp |
@@ -54,13 +54,12 @@ public: |
const char* name() const override { return "GrStrokeRectBatch"; } |
- void getInvariantOutputColor(GrInitInvariantOutput* out) const override { |
+ void computeBatchToXPOverrides(GrInitInvariantOutput* color, GrInitInvariantOutput* coverage, |
+ bool* usePLSDstRead) const { |
// When this is called on a batch, there is only one geometry bundle |
- out->setKnownFourComponents(fGeoData[0].fColor); |
- } |
- |
- void getInvariantOutputCoverage(GrInitInvariantOutput* out) const override { |
- out->setKnownSingleComponent(0xff); |
+ color->setKnownFourComponents(fGeoData[0].fColor); |
+ coverage->setKnownSingleComponent(0xff); |
+ *usePLSDstRead = false; |
} |
void append(GrColor color, const SkMatrix& viewMatrix, const SkRect& rect, |