added missing dispatch code for new AGP-related functions
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
/* $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
|
* Mesa 3-D graphics library
|
||||||
@@ -196,12 +196,15 @@ struct _glxapi_table {
|
|||||||
/*** GLX_MESA_set_3dfx_mode ***/
|
/*** GLX_MESA_set_3dfx_mode ***/
|
||||||
Bool (*Set3DfxModeMESA)(int mode);
|
Bool (*Set3DfxModeMESA)(int mode);
|
||||||
|
|
||||||
/*** GLX AGP functions ***/
|
/*** GLX_NV_vertex_array_range ***/
|
||||||
void * (*AllocateMemoryNV)( GLsizei size,
|
void * (*AllocateMemoryNV)( GLsizei size,
|
||||||
GLfloat readFrequency,
|
GLfloat readFrequency,
|
||||||
GLfloat writeFrequency,
|
GLfloat writeFrequency,
|
||||||
GLfloat priority );
|
GLfloat priority );
|
||||||
void (*FreeMemoryNV)( GLvoid *pointer );
|
void (*FreeMemoryNV)( GLvoid *pointer );
|
||||||
|
|
||||||
|
/*** GLX_MESA_agp_offset ***/
|
||||||
|
GLuint (*GetAGPOffsetMESA)( const GLvoid *pointer );
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
/* $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
|
* Mesa 3-D graphics library
|
||||||
@@ -170,9 +170,12 @@ _real_GetGLXDispatchTable(void)
|
|||||||
/*** GLX_MESA_set_3dfx_mode ***/
|
/*** GLX_MESA_set_3dfx_mode ***/
|
||||||
glx.Set3DfxModeMESA = _real_glXSet3DfxModeMESA;
|
glx.Set3DfxModeMESA = _real_glXSet3DfxModeMESA;
|
||||||
|
|
||||||
/*** GLX AGP memory allocation ***/
|
/*** GLX_NV_vertex_array_range ***/
|
||||||
glx.AllocateMemoryNV = _real_glXAllocateMemoryNV;
|
glx.AllocateMemoryNV = _real_glXAllocateMemoryNV;
|
||||||
glx.FreeMemoryNV = _real_glXFreeMemoryNV;
|
glx.FreeMemoryNV = _real_glXFreeMemoryNV;
|
||||||
|
|
||||||
|
/*** GLX_MESA_agp_offset ***/
|
||||||
|
glx.GetAGPOffsetMESA = _real_glXGetAGPOffsetMESA;
|
||||||
|
|
||||||
return &glx;
|
return &glx;
|
||||||
}
|
}
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
/* $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
|
* Mesa 3-D graphics library
|
||||||
@@ -306,6 +306,18 @@ extern Bool
|
|||||||
_real_glXSet3DfxModeMESA( int mode );
|
_real_glXSet3DfxModeMESA( int mode );
|
||||||
#endif
|
#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
|
#ifdef GLX_MESA_copy_sub_buffer
|
||||||
extern void
|
extern void
|
||||||
_real_glXCopySubBufferMESA( Display *dpy, GLXDrawable drawable,
|
_real_glXCopySubBufferMESA( Display *dpy, GLXDrawable drawable,
|
||||||
|
Reference in New Issue
Block a user