projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
mesa: Add the basics for the NV_fog_distance extension
[mesa.git]
/
src
/
mesa
/
main
/
debug.h
diff --git
a/src/mesa/main/debug.h
b/src/mesa/main/debug.h
index 0449cb1798a571a61fc3a803f927179804592f3e..bc64a83bbac9a0b84a9e9a2cf912576642de06e9 100644
(file)
--- a/
src/mesa/main/debug.h
+++ b/
src/mesa/main/debug.h
@@
-36,13
+36,19
@@
#ifndef _DEBUG_H
#define _DEBUG_H
#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 );
#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(
GL
context *ctx );
+extern void _mesa_init_debug(
struct gl_
context *ctx );
#else
#else
@@
-57,6
+63,9
@@
extern void _mesa_init_debug( GLcontext *ctx );
#endif
#endif
+extern void
+_mesa_write_renderbuffer_image(const struct gl_renderbuffer *rb);
+
extern void
_mesa_dump_texture(GLuint texture, GLuint writeImages);
extern void
_mesa_dump_texture(GLuint texture, GLuint writeImages);
@@
-76,6
+85,10
@@
extern void
_mesa_dump_stencil_buffer(const char *filename);
extern void
_mesa_dump_stencil_buffer(const char *filename);
extern void
-_mesa_print_texture(GLcontext *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
#endif