From fb657ef91da29120ff65580f0b27914752273025 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Thu, 22 Aug 2002 21:10:37 +0000 Subject: added glXAllocate/FreeMemoryNV() --- include/GL/glx.h | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'include/GL/glx.h') 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 -- cgit v1.2.3