diff options
author | Jakob Bornecrantz <[email protected]> | 2009-04-23 05:42:26 +0200 |
---|---|---|
committer | Jakob Bornecrantz <[email protected]> | 2009-04-24 13:02:26 +0200 |
commit | f4a286e5f5ac11b2e5266ef39db5d1d1cb5f77ce (patch) | |
tree | fdb917a1c4eb7cb9b1dc9b6f5a12ab9f494a3198 /src/gallium/auxiliary/util/u_debug.h | |
parent | eb5d96968fd37b4598a7b50df1a8f4f7805d897d (diff) |
util: Add more entry points for dumping to bmp
Diffstat (limited to 'src/gallium/auxiliary/util/u_debug.h')
-rw-r--r-- | src/gallium/auxiliary/util/u_debug.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/gallium/auxiliary/util/u_debug.h b/src/gallium/auxiliary/util/u_debug.h index 8d703e47fce..bcd8f0f3cf1 100644 --- a/src/gallium/auxiliary/util/u_debug.h +++ b/src/gallium/auxiliary/util/u_debug.h @@ -347,10 +347,15 @@ void debug_dump_surface_bmp(const char *filename, struct pipe_surface *surface); void debug_dump_transfer_bmp(const char *filename, struct pipe_transfer *transfer); +void debug_dump_float_rgba_bmp(const char *filename, + unsigned width, unsigned height, + float *rgba, unsigned stride); #else #define debug_dump_image(prefix, format, cpp, width, height, stride, data) ((void)0) #define debug_dump_surface(prefix, surface) ((void)0) #define debug_dump_surface_bmp(filename, surface) ((void)0) +#define debug_dump_transfer_bmp(filename, transfer) ((void)0) +#define debug_dump_rgba_float_bmp(filename, width, height, rgba, stride) ((void)0) #endif |