From 8455203bc7231f4ad4ee517faef3df024bf38070 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Tue, 8 Oct 2002 22:47:53 +0000 Subject: GLX_NV_vertex_array_range and GLX_MESA_agp_offset extensions --- include/GL/glx.h | 44 +++++++++++++++++++++++++++++++++----------- 1 file changed, 33 insertions(+), 11 deletions(-) (limited to 'include/GL/glx.h') 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 @@ -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 } -- cgit v1.2.3