X-Git-Url: https://git.libre-soc.org/?a=blobdiff_plain;f=src%2Fmesa%2Fmain%2Fdebug.h;h=17aa897e8d121443252ae6d4f84161419e054a59;hb=cfaf217135d8a8e903b3fbf380f18170df018f0c;hp=bb384c43242361dae7288b31bc285b99801737d9;hpb=9be72f54acf920815d1bd7851d234e6043635bca;p=mesa.git diff --git a/src/mesa/main/debug.h b/src/mesa/main/debug.h index bb384c43242..17aa897e8d1 100644 --- a/src/mesa/main/debug.h +++ b/src/mesa/main/debug.h @@ -36,13 +36,19 @@ #ifndef _DEBUG_H #define _DEBUG_H +#include "glheader.h" +#include "mfeatures.h" + +struct gl_context; +struct gl_texture_image; + #if _HAVE_FULL_GL extern void _mesa_print_tri_caps( const char *name, GLuint flags ); extern void _mesa_print_enable_flags( const char *msg, GLuint flags ); extern void _mesa_print_state( const char *msg, GLuint state ); extern void _mesa_print_info( void ); -extern void _mesa_init_debug( GLcontext *ctx ); +extern void _mesa_init_debug( struct gl_context *ctx ); #else @@ -58,7 +64,13 @@ extern void _mesa_init_debug( GLcontext *ctx ); #endif extern void -_mesa_dump_textures(GLboolean dumpImages); +_mesa_dump_texture(GLuint texture, GLuint writeImages); + +extern void +_mesa_dump_textures(GLuint writeImages); + +extern void +_mesa_dump_renderbuffers(GLboolean writeImages); extern void _mesa_dump_color_buffer(const char *filename); @@ -69,4 +81,7 @@ _mesa_dump_depth_buffer(const char *filename); extern void _mesa_dump_stencil_buffer(const char *filename); +extern void +_mesa_print_texture(struct gl_context *ctx, const struct gl_texture_image *img); + #endif