| Index: src/gpu/batches/GrTInstanceBatch.h
|
| diff --git a/src/gpu/batches/GrTInstanceBatch.h b/src/gpu/batches/GrTInstanceBatch.h
|
| index 420f873d2676f07c51d6714d4f843286a384e670..9690d556436b543bd0646ad9b90b6f4600163029 100644
|
| --- a/src/gpu/batches/GrTInstanceBatch.h
|
| +++ b/src/gpu/batches/GrTInstanceBatch.h
|
| @@ -22,6 +22,10 @@
|
| *
|
| * const char* Name()
|
| *
|
| + * void InvariantOutputCoverage(GrInitInvariantOutput* out)
|
| + *
|
| + * void SetBounds(const Geometry& seedGeometry, SkRect* outBounds)
|
| + *
|
| * bool CanCombine(const Geometry& mine, const Geometry& theirs,
|
| * const GrPipelineOptimizations&)
|
| *
|
| @@ -50,7 +54,7 @@ public:
|
| }
|
|
|
| void getInvariantOutputCoverage(GrInitInvariantOutput* out) const override {
|
| - out->setUnknownSingleComponent();
|
| + Impl::InitInvariantOutputCoverage(out);
|
| }
|
|
|
| void initBatchTracker(const GrPipelineOptimizations& opt) override {
|
| @@ -66,7 +70,7 @@ public:
|
| Geometry* geometry() { return &fGeoData[0]; }
|
| void init() {
|
| const Geometry& geo = fGeoData[0];
|
| - this->setBounds(geo.fDevRect);
|
| + Impl::SetBounds(geo, &fBounds);
|
| }
|
|
|
| private:
|
|
|