summaryrefslogtreecommitdiff
path: root/xc/include
diff options
context:
space:
mode:
authorkeithw <keithw>2002-09-23 17:26:11 +0000
committerkeithw <keithw>2002-09-23 17:26:11 +0000
commitfd13aaf9b416871a4e25af4cd6c1a7b86a1cf4ba (patch)
tree4525def1db7e25ce5681712d856da17e264a18df /xc/include
parent12854f0c6996cded6128c9a4e3df7ea48d07cedb (diff)
merged r200-0-2-branch to trunk
Diffstat (limited to 'xc/include')
-rw-r--r--xc/include/GL/glx.h41
1 files changed, 34 insertions, 7 deletions
diff --git a/xc/include/GL/glx.h b/xc/include/GL/glx.h
index becfb864d..05300fc86 100644
--- a/xc/include/GL/glx.h
+++ b/xc/include/GL/glx.h
@@ -112,13 +112,6 @@ extern void glXGetSelectedEvent (Display *dpy, GLXDrawable draw, unsigned long *
extern void (*glXGetProcAddress(const GLubyte *procname))(void);
-/* AGP memory allocation */
-extern void *glXAllocateMemoryNV(GLsizei size, GLfloat readfreq, GLfloat writefreq, GLfloat priority);
-extern void glXFreeMemoryNV(GLvoid *pointer);
-typedef void * ( * PFNGLXALLOCATEMEMORYNVPROC) (GLsizei size, GLfloat readfreq, GLfloat writefreq, GLfloat priority);
-typedef void ( * PFNGLXFREEMEMORYNVPROC) (GLvoid *pointer);
-
-
#ifndef GLX_GLXEXT_LEGACY
#include <GL/glxext.h>
@@ -141,6 +134,40 @@ extern void (*glXGetProcAddressARB(const GLubyte *procName))( void );
#endif /* GLX_GLXEXT_LEGACY */
+
+/**
+ ** The following aren't in glxext.h yet.
+ **/
+
+
+/*
+ * ???. GLX_NV_vertex_array_range
+ */
+#ifndef GLX_NV_vertex_array_range
+#define GLX_NV_vertex_array_range
+
+extern void *glXAllocateMemoryNV(GLsizei size, GLfloat readfreq, GLfloat writefreq, GLfloat priority);
+extern void glXFreeMemoryNV(GLvoid *pointer);
+typedef void * ( * PFNGLXALLOCATEMEMORYNVPROC) (GLsizei size, GLfloat readfreq, GLfloat writefreq, GLfloat priority);
+typedef void ( * PFNGLXFREEMEMORYNVPROC) (GLvoid *pointer);
+
+#endif /* GLX_NV_vertex_array_range */
+
+
+
+/*
+ * ???. GLX_MESA_agp_offset
+ */
+#ifndef GLX_MESA_agp_offset
+#define GLX_MESA_agp_offset 1
+
+extern GLuint glXGetAGPOffsetMESA(const GLvoid *pointer);
+typedef GLuint (* PFNGLXGETAGPOFFSETMESAPROC) (const GLvoid *pointer);
+
+#endif /* GLX_MESA_agp_offset */
+
+
+
/*** Should these go here, or in another header? */
/*
** GLX Events