summaryrefslogtreecommitdiff
path: root/include/GL
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>2003-07-21 04:30:25 +0000
committerBrian Paul <brian.paul@tungstengraphics.com>2003-07-21 04:30:25 +0000
commit389858ee7b5207d356c9211386024af8ff9797f5 (patch)
tree84c407de4dbfda0643e5076626c22825d4a0a2cc /include/GL
parent64da663f51ea93b1571f4932de044757e3d00b56 (diff)
tokens, functions for GL_MESA_program_debug
Diffstat (limited to 'include/GL')
-rw-r--r--include/GL/gl.h27
1 files changed, 27 insertions, 0 deletions
diff --git a/include/GL/gl.h b/include/GL/gl.h
index 260b59ac38..4bcd43e41c 100644
--- a/include/GL/gl.h
+++ b/include/GL/gl.h
@@ -2673,6 +2673,33 @@ typedef void (APIENTRY * PFNGLGETQUERYOBJECTUIVARBPROC)(GLuint id, GLenum pname,
#endif /* GL_ARB_occlusion_query */
+#ifndef GL_MESA_program_debug
+#define GL_MESA_program_debug 1
+
+#define GL_FRAGMENT_PROGRAM_POSITION_MESA 0x9900
+#define GL_FRAGMENT_PROGRAM_CALLBACK_MESA 0x9901
+#define GL_FRAGMENT_PROGRAM_CALLBACK_FUNC_MESA 0x9902
+#define GL_FRAGMENT_PROGRAM_CALLBACK_DATA_MESA 0x9903
+#define GL_VERTEX_PROGRAM_POSITION_MESA 0x9904
+#define GL_VERTEX_PROGRAM_CALLBACK_MESA 0x9905
+#define GL_VERTEX_PROGRAM_CALLBACK_FUNC_MESA 0x9906
+#define GL_VERTEX_PROGRAM_CALLBACK_DATA_MESA 0x9907
+
+typedef void (*GLprogramcallbackMESA)(GLenum target, GLvoid *data);
+
+extern void
+glProgramCallbackMESA(GLenum target, GLprogramcallbackMESA callback,
+ GLvoid *data);
+
+extern void
+glGetProgramRegisterfvMESA(GLenum target,
+ GLsizei len, const GLubyte *registerName,
+ GLfloat *v);
+
+#endif /* GL_MESA_program_debug */
+
+
+
/**********************************************************************
* Begin system-specific stuff
*/