Index: tools/debugger/SkDrawCommand.h |
diff --git a/tools/debugger/SkDrawCommand.h b/tools/debugger/SkDrawCommand.h |
index 0a365c04b50105cf658fadc4ebd80c828708aee1..7eaf354bc783907ac01b3d88ade2e2dd9481635c 100644 |
--- a/tools/debugger/SkDrawCommand.h |
+++ b/tools/debugger/SkDrawCommand.h |
@@ -8,6 +8,8 @@ |
#ifndef SKDRAWCOMMAND_H_ |
#define SKDRAWCOMMAND_H_ |
+#include "png.h" |
+ |
#include "SkCanvas.h" |
#include "SkTLazy.h" |
#include "SkPath.h" |
@@ -57,6 +59,9 @@ public: |
static const int kOpTypeCount = kLast_OpType + 1; |
+ static void WritePNG(const png_bytep rgba, png_uint_32 width, png_uint_32 height, |
+ SkWStream& out); |
+ |
SkDrawCommand(OpType opType); |
virtual ~SkDrawCommand(); |