Index: include/gpu/effects/GrConstColorProcessor.h |
diff --git a/include/gpu/effects/GrConstColorProcessor.h b/include/gpu/effects/GrConstColorProcessor.h |
index f5fdb7e35cfbc8dc3a292736a00ba032e9c9d2b7..799e25908adda92e99ff68bf51918c5a2713e078 100644 |
--- a/include/gpu/effects/GrConstColorProcessor.h |
+++ b/include/gpu/effects/GrConstColorProcessor.h |
@@ -32,6 +32,12 @@ public: |
const char* name() const override { return "Color"; } |
+ SkString dumpInfo() const override { |
+ SkString str; |
+ str.appendf("Color: 0x%08x", fColor); |
+ return str; |
+ } |
+ |
GrColor color() const { return fColor; } |
InputMode inputMode() const { return fMode; } |