mesa: new BYTE/SHORT_TO_FLOATZ() macros
[mesa.git] / src / mesa / main / debug.h
index e3bb4dfe8130371fedd5aaf8aff496e5e46ed4b5..bc64a83bbac9a0b84a9e9a2cf912576642de06e9 100644 (file)
 #define _DEBUG_H
 
 #include "glheader.h"
-#include "mtypes.h"
+#include "mfeatures.h"
+
+struct gl_context;
+struct gl_texture_image;
 
 #if _HAVE_FULL_GL
 
@@ -60,6 +63,9 @@ extern void _mesa_init_debug( struct gl_context *ctx );
 
 #endif
 
+extern void
+_mesa_write_renderbuffer_image(const struct gl_renderbuffer *rb);
+
 extern void
 _mesa_dump_texture(GLuint texture, GLuint writeImages);
 
@@ -79,6 +85,10 @@ extern void
 _mesa_dump_stencil_buffer(const char *filename);
 
 extern void
-_mesa_print_texture(struct gl_context *ctx, const struct gl_texture_image *img);
+_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, struct gl_texture_image *img);
 
 #endif