summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/debug.h
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2011-03-24 13:38:04 -0600
committerBrian Paul <[email protected]>2011-03-24 13:38:28 -0600
commite1a9ef2304e9dc688b604fab889964922e76b6fe (patch)
treee5ccc7f789b07747b716582d7b3cfe7388aa936e /src/mesa/main/debug.h
parente4852ae4d24396daa323652023655fb3b6456ff5 (diff)
mesa: added _mesa_dump_image() for debugging
Diffstat (limited to 'src/mesa/main/debug.h')
-rw-r--r--src/mesa/main/debug.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mesa/main/debug.h b/src/mesa/main/debug.h
index 4968a9f1979..d7c53b65504 100644
--- a/src/mesa/main/debug.h
+++ b/src/mesa/main/debug.h
@@ -85,6 +85,10 @@ extern void
_mesa_dump_stencil_buffer(const char *filename);
extern void
+_mesa_dump_image(const char *filename, const void *image, GLuint w, GLuint h,
+ GLenum format, GLenum type);
+
+extern void
_mesa_print_texture(struct gl_context *ctx, const struct gl_texture_image *img);
#endif