Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(64)

Unified Diff: tools/debugger/SkDrawCommand.h

Issue 1818043003: unified PNG encoding between SkDrawCommand and skiaserve (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « gyp/gmslides.gypi ('k') | tools/debugger/SkDrawCommand.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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();
« no previous file with comments | « gyp/gmslides.gypi ('k') | tools/debugger/SkDrawCommand.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698