summaryrefslogtreecommitdiff
path: root/include/GL/glx.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/GL/glx.h')
-rw-r--r--include/GL/glx.h11
1 files changed, 10 insertions, 1 deletions
diff --git a/include/GL/glx.h b/include/GL/glx.h
index e19937f8bb..1f6f0c9cc0 100644
--- a/include/GL/glx.h
+++ b/include/GL/glx.h
@@ -1,4 +1,4 @@
-/* $Id: glx.h,v 1.35 2001/12/14 03:19:06 brianp Exp $ */
+/* $Id: glx.h,v 1.36 2002/08/22 21:10:38 brianp Exp $ */
/*
* Mesa 3-D graphics library
@@ -297,6 +297,15 @@ 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