summaryrefslogtreecommitdiff
path: root/lib/rendercopy.h
diff options
context:
space:
mode:
authorDamien Lespiau <damien.lespiau@intel.com>2013-10-22 14:18:26 +0100
committerDamien Lespiau <damien.lespiau@intel.com>2013-10-24 13:44:32 +0100
commitc3707ab387500b534224dd563297a7bbb26aeb83 (patch)
treedb3b0351c35bbfac5228ca2c68f35d248c181e18 /lib/rendercopy.h
parent13ebe3c01410c2dc0d90a4a1c33cbf143c51056c (diff)
lib: Add a function to dump a scratch buf into a png
Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
Diffstat (limited to 'lib/rendercopy.h')
-rw-r--r--lib/rendercopy.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/rendercopy.h b/lib/rendercopy.h
index 8fd9222b..ace43923 100644
--- a/lib/rendercopy.h
+++ b/lib/rendercopy.h
@@ -85,4 +85,6 @@ void gen2_render_copyfunc(struct intel_batchbuffer *batch,
unsigned width, unsigned height,
struct scratch_buf *dst, unsigned dst_x, unsigned dst_y);
+void scratch_buf_write_to_png(struct scratch_buf *buf, const char *filename);
+
#endif /* RENDERCOPY_H */