Index: src/gpu/batches/GrTInstanceBatch.h |
diff --git a/src/gpu/batches/GrTInstanceBatch.h b/src/gpu/batches/GrTInstanceBatch.h |
index b4bc0c084f903b62756025db077bef2cc0c2d0dc..86d85b616f7d5153c522bf86b63606b4491d5c6f 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); |