Index: src/gpu/batches/GrDefaultPathRenderer.cpp |
diff --git a/src/gpu/batches/GrDefaultPathRenderer.cpp b/src/gpu/batches/GrDefaultPathRenderer.cpp |
index d0777e253fa70332ee36988fe5c0685a2506acd7..d8cbc30aa70e770fcbe2ce78613d2f6da99fafc9 100644 |
--- a/src/gpu/batches/GrDefaultPathRenderer.cpp |
+++ b/src/gpu/batches/GrDefaultPathRenderer.cpp |
@@ -227,12 +227,12 @@ public: |
const char* name() const override { return "DefaultPathBatch"; } |
- 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(this->coverage()); |
+ color->setKnownFourComponents(fGeoData[0].fColor); |
+ coverage->setKnownSingleComponent(this->coverage()); |
+ *usePLSDstRead = false; |
} |
private: |