summaryrefslogtreecommitdiff
path: root/include/GL
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>2002-10-08 22:47:53 +0000
committerBrian Paul <brian.paul@tungstengraphics.com>2002-10-08 22:47:53 +0000
commit8455203bc7231f4ad4ee517faef3df024bf38070 (patch)
treee949e28209a81313df2edba97cf34843a5d57cad /include/GL
parentf72a3da6979a91d8899f1f3b198718e54b108b8b (diff)
GLX_NV_vertex_array_range and GLX_MESA_agp_offset extensions
Diffstat (limited to 'include/GL')
-rw-r--r--include/GL/glx.h44
1 files changed, 33 insertions, 11 deletions
diff --git a/include/GL/glx.h b/include/GL/glx.h
index 1f6f0c9cc0..f0b479c279 100644
--- a/include/GL/glx.h
+++ b/include/GL/glx.h
@@ -1,4 +1,4 @@
-/* $Id: glx.h,v 1.36 2002/08/22 21:10:38 brianp Exp $ */
+/* $Id: glx.h,v 1.37 2002/10/08 22:47:53 brianp Exp $ */
/*
* Mesa 3-D graphics library
@@ -297,16 +297,6 @@ extern void glXGetSelectedEvent( Display *dpy, GLXDrawable drawable,
extern void (*glXGetProcAddress(const GLubyte *procname))();
-/*
- * AGP memory allocator.
- */
-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>
@@ -462,6 +452,38 @@ extern void (*glXGetProcAddressARB(const GLubyte *procName))();
#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 */
+
+
#ifdef __cplusplus
}