Index: src/gpu/batches/GrDrawBatch.h |
diff --git a/src/gpu/batches/GrDrawBatch.h b/src/gpu/batches/GrDrawBatch.h |
index 93326efad262db61627f2caf208c258069298e30..b5def697c791ea7cb2aaaea0d0a24a77789be19a 100644 |
--- a/src/gpu/batches/GrDrawBatch.h |
+++ b/src/gpu/batches/GrDrawBatch.h |
@@ -63,13 +63,18 @@ public: |
SkString dumpInfo() const override { |
SkString string; |
+ string.appendf("RT: %d\n", this->renderTargetUniqueID()); |
string.append("ColorStages:\n"); |
for (int i = 0; i < this->pipeline()->numColorFragmentProcessors(); i++) { |
- string.appendf("\t\t%s\n", this->pipeline()->getColorFragmentProcessor(i).name()); |
+ string.appendf("\t\t%s\n\t\t%s\n", |
+ this->pipeline()->getColorFragmentProcessor(i).name(), |
+ this->pipeline()->getColorFragmentProcessor(i).dumpInfo().c_str()); |
} |
string.append("CoverageStages:\n"); |
for (int i = 0; i < this->pipeline()->numCoverageFragmentProcessors(); i++) { |
- string.appendf("\t%s\n", this->pipeline()->getCoverageFragmentProcessor(i).name()); |
+ string.appendf("\t\t%s\n\t\t%s\n", |
+ this->pipeline()->getCoverageFragmentProcessor(i).name(), |
+ this->pipeline()->getCoverageFragmentProcessor(i).dumpInfo().c_str()); |
} |
string.appendf("XP: %s\n", this->pipeline()->getXferProcessor()->name()); |
return string; |