core  array_cache  math  swrast  swrast_setup  tnl  tnl_dd 
Main Page   Data Structures   File List   Data Fields   Globals   Related Pages  

debug.c File Reference

#include "mtypes.h"
#include "context.h"
#include "imports.h"
#include "debug.h"
#include "get.h"

Functions

void _mesa_print_state (const char *msg, GLuint state)
void _mesa_print_tri_caps (const char *name, GLuint flags)
void _mesa_print_info (void)
 Print information about this Mesa version and build options. More...

void add_debug_flags (const char *debug)
 Set the debugging flags. More...

void _mesa_init_debug (GLcontext *ctx)

Variables

const char * _mesa_prim_name [GL_POLYGON+4]
 The string names for GL_POINT, GL_LINE_LOOP, etc. More...


Function Documentation

void _mesa_init_debug GLcontext   ctx
 

void _mesa_print_info void   
 

Print information about this Mesa version and build options.

void _mesa_print_state const char *    msg,
GLuint    state
 

void _mesa_print_tri_caps const char *    name,
GLuint    flags
 

void add_debug_flags const char *    debug [static]
 

Set the debugging flags.

Parameters:
debug  debug string
If compiled with debugging support then search for keywords in debug and enables the verbose debug output of the respective feature.


Variable Documentation

const char* _mesa_prim_name[GL_POLYGON+4]
 

Initial value:

 {
   "GL_POINTS",
   "GL_LINES",
   "GL_LINE_LOOP",
   "GL_LINE_STRIP",
   "GL_TRIANGLES",
   "GL_TRIANGLE_STRIP",
   "GL_TRIANGLE_FAN",
   "GL_QUADS",
   "GL_QUAD_STRIP",
   "GL_POLYGON",
   "outside begin/end",
   "inside unkown primitive",
   "unknown state"
}
The string names for GL_POINT, GL_LINE_LOOP, etc.


Generated on Sun May 16 15:55:11 2004 for Mesa Core by doxygen1.2.13.1 written by Dimitri van Heesch, © 1997-2001