OSDN Git Service

Added GL_MESA_trace extension (Loki)
authorBrian Paul <brian.paul@tungstengraphics.com>
Fri, 15 Sep 2000 19:45:00 +0000 (19:45 +0000)
committerBrian Paul <brian.paul@tungstengraphics.com>
Fri, 15 Sep 2000 19:45:00 +0000 (19:45 +0000)
include/GL/gl.h

index f0c9810..bdb40a2 100644 (file)
@@ -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
  */