From 98b3dd40f7969ace61654a5b57366db923502dcb Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Fri, 15 Sep 2000 19:45:00 +0000 Subject: [PATCH] Added GL_MESA_trace extension (Loki) --- include/GL/gl.h | 32 +++++++++++++++++++++++++++++++- 1 file changed, 31 insertions(+), 1 deletion(-) diff --git a/include/GL/gl.h b/include/GL/gl.h index f0c9810ba78..bdb40a254ab 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 */ -- 2.30.2