diff options
author | Damien Lespiau <damien.lespiau@intel.com> | 2013-10-22 14:18:26 +0100 |
---|---|---|
committer | Damien Lespiau <damien.lespiau@intel.com> | 2013-10-24 13:44:32 +0100 |
commit | c3707ab387500b534224dd563297a7bbb26aeb83 (patch) | |
tree | db3b0351c35bbfac5228ca2c68f35d248c181e18 /lib/rendercopy.h | |
parent | 13ebe3c01410c2dc0d90a4a1c33cbf143c51056c (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.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/rendercopy.h b/lib/rendercopy.h index 8fd9222be..ace439239 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 */ |