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 e3bb4dfe8130371fedd5aaf8aff496e5e46ed4b5..bc64a83bbac9a0b84a9e9a2cf912576642de06e9 100644
(file)
--- a/
src/mesa/main/debug.h
+++ b/
src/mesa/main/debug.h
@@
-37,7
+37,10
@@
#define _DEBUG_H
#include "glheader.h"
#define _DEBUG_H
#include "glheader.h"
-#include "mtypes.h"
+#include "mfeatures.h"
+
+struct gl_context;
+struct gl_texture_image;
#if _HAVE_FULL_GL
#if _HAVE_FULL_GL
@@
-60,6
+63,9
@@
extern void _mesa_init_debug( struct gl_context *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);
@@
-79,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(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
#endif