diff options
Diffstat (limited to 'src/gpu/batches/GrTInstanceBatch.h')
-rw-r--r-- | src/gpu/batches/GrTInstanceBatch.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/gpu/batches/GrTInstanceBatch.h b/src/gpu/batches/GrTInstanceBatch.h index b4bc0c084f..86d85b616f 100644 --- a/src/gpu/batches/GrTInstanceBatch.h +++ b/src/gpu/batches/GrTInstanceBatch.h @@ -50,6 +50,15 @@ public: const char* name() const override { return Impl::Name(); } + SkString dumpInfo() const override { + SkString str; + for (int i = 0; i < fGeoData.count(); ++i) { + str.append(Impl::DumpInfo(fGeoData[i])); + } + str.append(INHERITED::dumpInfo()); + return str; + } + void getInvariantOutputColor(GrInitInvariantOutput* out) const override { // When this is called on a batch, there is only one geometry bundle out->setKnownFourComponents(fGeoData[0].fColor); |