-/* $Id: glxapi.h,v 1.13 2002/08/22 21:10:01 brianp Exp $ */
+/* $Id: glxapi.h,v 1.14 2002/10/08 23:16:26 brianp Exp $ */
/*
* Mesa 3-D graphics library
/*** GLX_MESA_set_3dfx_mode ***/
Bool (*Set3DfxModeMESA)(int mode);
- /*** GLX AGP functions ***/
+ /*** GLX_NV_vertex_array_range ***/
void * (*AllocateMemoryNV)( GLsizei size,
GLfloat readFrequency,
GLfloat writeFrequency,
GLfloat priority );
void (*FreeMemoryNV)( GLvoid *pointer );
+
+ /*** GLX_MESA_agp_offset ***/
+ GLuint (*GetAGPOffsetMESA)( const GLvoid *pointer );
};
-/* $Id: realglx.c,v 1.5 2002/08/22 21:10:01 brianp Exp $ */
+/* $Id: realglx.c,v 1.6 2002/10/08 23:16:27 brianp Exp $ */
/*
* Mesa 3-D graphics library
/*** GLX_MESA_set_3dfx_mode ***/
glx.Set3DfxModeMESA = _real_glXSet3DfxModeMESA;
- /*** GLX AGP memory allocation ***/
+ /*** GLX_NV_vertex_array_range ***/
glx.AllocateMemoryNV = _real_glXAllocateMemoryNV;
glx.FreeMemoryNV = _real_glXFreeMemoryNV;
+ /*** GLX_MESA_agp_offset ***/
+ glx.GetAGPOffsetMESA = _real_glXGetAGPOffsetMESA;
+
return &glx;
}
-/* $Id: realglx.h,v 1.4 2001/05/30 14:39:47 brianp Exp $ */
+/* $Id: realglx.h,v 1.5 2002/10/08 23:16:27 brianp Exp $ */
/*
* Mesa 3-D graphics library
_real_glXSet3DfxModeMESA( int mode );
#endif
+#ifdef GLX_NV_vertex_array_range
+extern void *
+_real_glXAllocateMemoryNV(GLsizei size, GLfloat readfreq, GLfloat writefreq, GLfloat priority);
+extern void
+_real_glXFreeMemoryNV(GLvoid *pointer);
+#endif
+
+#ifdef GLX_MESA_agp_offset
+extern GLuint
+_real_glXGetAGPOffsetMESA(const GLvoid *pointer);
+#endif
+
#ifdef GLX_MESA_copy_sub_buffer
extern void
_real_glXCopySubBufferMESA( Display *dpy, GLXDrawable drawable,