lib: Add a function to dump a scratch buf into a png

Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
This commit is contained in:
Damien Lespiau
2013-10-22 14:18:26 +01:00
parent 13ebe3c014
commit c3707ab387
3 changed files with 52 additions and 0 deletions
+2
View File
@@ -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 */