Index: src/gpu/effects/GrXfermodeFragmentProcessor.cpp |
diff --git a/src/gpu/effects/GrXfermodeFragmentProcessor.cpp b/src/gpu/effects/GrXfermodeFragmentProcessor.cpp |
index 3706c994b80359c3ccea916ce81eaadfe9c0e6c8..6ff4d32f0673c4b57e6d5075d78e398614456780 100644 |
--- a/src/gpu/effects/GrXfermodeFragmentProcessor.cpp |
+++ b/src/gpu/effects/GrXfermodeFragmentProcessor.cpp |
@@ -154,6 +154,15 @@ public: |
const char* name() const override { return "ComposeOne"; } |
+ SkString dumpInfo() const override { |
+ SkString str; |
+ |
+ for (int i = 0; i < this->numChildProcessors(); ++i) { |
+ str.append(this->childProcessor(i).dumpInfo()); |
+ } |
+ return str; |
+ } |
+ |
void onGetGLSLProcessorKey(const GrGLSLCaps& caps, GrProcessorKeyBuilder* b) const override { |
GR_STATIC_ASSERT((SkXfermode::kLastMode & SK_MaxU16) == SkXfermode::kLastMode); |
b->add32(fMode | (fChild << 16)); |