| Index: src/gpu/batches/GrDrawAtlasBatch.h
|
| diff --git a/src/gpu/batches/GrDrawAtlasBatch.h b/src/gpu/batches/GrDrawAtlasBatch.h
|
| index de128f211db1ccc9e7b245f77c64faaa08e67df0..1f6167a2b6a68934c9688db4e109368da8f5489f 100644
|
| --- a/src/gpu/batches/GrDrawAtlasBatch.h
|
| +++ b/src/gpu/batches/GrDrawAtlasBatch.h
|
| @@ -29,17 +29,16 @@ public:
|
|
|
| const char* name() const override { return "DrawAtlasBatch"; }
|
|
|
| - void getInvariantOutputColor(GrInitInvariantOutput* out) const override {
|
| + void computeBatchToXPOverrides(GrInitInvariantOutput* color, GrInitInvariantOutput* coverage,
|
| + bool* usePLSDstRead) const override {
|
| // When this is called on a batch, there is only one geometry bundle
|
| if (this->hasColors()) {
|
| - out->setUnknownFourComponents();
|
| + color->setUnknownFourComponents();
|
| } else {
|
| - out->setKnownFourComponents(fGeoData[0].fColor);
|
| + color->setKnownFourComponents(fGeoData[0].fColor);
|
| }
|
| - }
|
| -
|
| - void getInvariantOutputCoverage(GrInitInvariantOutput* out) const override {
|
| - out->setKnownSingleComponent(0xff);
|
| + coverage->setKnownSingleComponent(0xff);
|
| + *usePLSDstRead = false;
|
| }
|
|
|
| SkSTArray<1, Geometry, true>* geoData() { return &fGeoData; }
|
|
|