diff options
author | Brian Paul <brian.paul@tungstengraphics.com> | 2000-09-15 19:45:00 +0000 |
---|---|---|
committer | Brian Paul <brian.paul@tungstengraphics.com> | 2000-09-15 19:45:00 +0000 |
commit | 98b3dd40f7969ace61654a5b57366db923502dcb (patch) | |
tree | 98496032f46daaf634cce9c00da36e0b5a5dc498 | |
parent | 771b97552864226bd2390e48c0443d2d1f0c9a43 (diff) |
Added GL_MESA_trace extension (Loki)
-rw-r--r-- | include/GL/gl.h | 32 |
1 files changed, 31 insertions, 1 deletions
diff --git a/include/GL/gl.h b/include/GL/gl.h index f0c9810ba7..bdb40a254a 100644 --- a/include/GL/gl.h +++ b/include/GL/gl.h @@ -1,4 +1,4 @@ -/* $Id: gl.h,v 1.44 2000/07/13 17:45:13 brianp Exp $ */ +/* $Id: gl.h,v 1.45 2000/09/15 19:45:00 brianp Exp $ */ /* * Mesa 3-D graphics library @@ -2236,6 +2236,36 @@ GLAPI void GLAPIENTRY glResizeBuffersMESA( void ); +/* + * ???. GL_MESA_trace + * XXX this should go into glext.h at some point + */ +#ifndef GL_MESA_trace +#define GL_MESA_trace 1 + +#define GL_TRACE_ALL_BIT_MESA 0x0001 +#define GL_TRACE_OPERATIONS_BIT_MESA 0x0002 +#define GL_TRACE_PRIMITIVES_BIT_MESA 0x0004 +#define GL_TRACE_ARRAYS_BIT_MESA 0x0008 +#define GL_TRACE_TEXTURES_BIT_MESA 0x0010 +#define GL_TRACE_PIXELS_BIT_MESA 0x0020 + +GLAPI void GLAPIENTRY glEnableTrace( GLbitfield mask ); +GLAPI void GLAPIENTRY glDisableTrace( GLbitfield mask ); +GLAPI void GLAPIENTRY glNewTrace( GLbitfield mask, GLubyte * traceName ); +GLAPI void GLAPIENTRY glEndTrace( void ); +GLAPI void GLAPIENTRY glTraceAssertAttrib( GLbitfield attribMask ); +GLAPI void GLAPIENTRY glTraceComment( const GLubyte * comment ); +GLAPI void GLAPIENTRY glTraceTexture( GLuint name, const GLubyte* comment ); +GLAPI void GLAPIENTRY glTraceList( GLuint name, const GLubyte* comment ); +GLAPI void GLAPIENTRY glTracePointer( GLvoid* pointer, const GLubyte* comment ); +GLAPI void GLAPIENTRY glTracePointerRange( const GLvoid* first, const GLvoid* last, const GLubyte* comment ); + +#endif /* GL_MESA_trace */ + + + + /********************************************************************** * Begin system-specific stuff */ |