Index: src/gpu/batches/GrDrawPathBatch.h |
diff --git a/src/gpu/batches/GrDrawPathBatch.h b/src/gpu/batches/GrDrawPathBatch.h |
index 39c729fa28662b0047f390d1d89874d0bd2a9619..c234cb9a3b608de8d4682c211016b52d11cb7728 100644 |
--- a/src/gpu/batches/GrDrawPathBatch.h |
+++ b/src/gpu/batches/GrDrawPathBatch.h |
@@ -19,12 +19,11 @@ |
class GrDrawPathBatchBase : public GrDrawBatch { |
public: |
- void getInvariantOutputColor(GrInitInvariantOutput* out) const override { |
- out->setKnownFourComponents(fColor); |
- } |
- |
- void getInvariantOutputCoverage(GrInitInvariantOutput* out) const override { |
- out->setKnownSingleComponent(0xff); |
+ void computeBatchToXPOverrides(GrInitInvariantOutput* color, GrInitInvariantOutput* coverage, |
+ bool* usePLSDstRead) const { |
+ color->setKnownFourComponents(fColor); |
+ coverage->setKnownSingleComponent(0xff); |
+ *usePLSDstRead = false; |
} |
void setStencilSettings(const GrStencilSettings& stencil) { fStencilSettings = stencil; } |