summaryrefslogtreecommitdiffstats
path: root/include/GL/glx.h
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2002-08-22 21:10:37 +0000
committerBrian Paul <[email protected]>2002-08-22 21:10:37 +0000
commitfb657ef91da29120ff65580f0b27914752273025 (patch)
tree6ec98ccdab883f999ad0385132ca0080eef7743a /include/GL/glx.h
parent8fefafa2200d3ea44ec46592b190654a10685b46 (diff)
added glXAllocate/FreeMemoryNV()
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 e19937f8bb3..1f6f0c9cc08 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