diff options
author | Brian Paul <brian.paul@tungstengraphics.com> | 2002-10-08 22:47:53 +0000 |
---|---|---|
committer | Brian Paul <brian.paul@tungstengraphics.com> | 2002-10-08 22:47:53 +0000 |
commit | 8455203bc7231f4ad4ee517faef3df024bf38070 (patch) | |
tree | e949e28209a81313df2edba97cf34843a5d57cad /include/GL | |
parent | f72a3da6979a91d8899f1f3b198718e54b108b8b (diff) | |
download | external_mesa3d-8455203bc7231f4ad4ee517faef3df024bf38070.zip external_mesa3d-8455203bc7231f4ad4ee517faef3df024bf38070.tar.gz external_mesa3d-8455203bc7231f4ad4ee517faef3df024bf38070.tar.bz2 |
GLX_NV_vertex_array_range and GLX_MESA_agp_offset extensions
Diffstat (limited to 'include/GL')
-rw-r--r-- | include/GL/glx.h | 44 |
1 files changed, 33 insertions, 11 deletions
diff --git a/include/GL/glx.h b/include/GL/glx.h index 1f6f0c9..f0b479c 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 } |