diff options
author | Brian Paul <brian.paul@tungstengraphics.com> | 2002-10-08 23:17:33 +0000 |
---|---|---|
committer | Brian Paul <brian.paul@tungstengraphics.com> | 2002-10-08 23:17:33 +0000 |
commit | 967c74697aa59072b9c647d04a4c59913e66b7ce (patch) | |
tree | 109cffdfcfacf7411d7710c8429641b2c779991e | |
parent | ed7f9fb515d7ec8a4a1483b5b28c443e5006e14c (diff) |
updated comments for AGP-related functions
-rw-r--r-- | src/mesa/drivers/x11/fakeglx.c | 4 | ||||
-rw-r--r-- | src/mesa/drivers/x11/glxapi.h | 6 | ||||
-rw-r--r-- | src/mesa/drivers/x11/realglx.c | 7 |
3 files changed, 12 insertions, 5 deletions
diff --git a/src/mesa/drivers/x11/fakeglx.c b/src/mesa/drivers/x11/fakeglx.c index 0ffd0596af..4bb3e86f38 100644 --- a/src/mesa/drivers/x11/fakeglx.c +++ b/src/mesa/drivers/x11/fakeglx.c @@ -2642,9 +2642,11 @@ struct _glxapi_table *_mesa_GetGLXDispatchTable(void) /*** GLX_MESA_set_3dfx_mode ***/ glx.Set3DfxModeMESA = Fake_glXSet3DfxModeMESA; - /*** GLX AGP memory allocation ***/ + /*** GLX_NV_vertex_array_range ***/ glx.AllocateMemoryNV = Fake_glXAllocateMemoryNV; glx.FreeMemoryNV = Fake_glXFreeMemoryNV; + + /*** GLX_MESA_agp_offset ***/ glx.GetAGPOffsetMESA = Fake_glXGetAGPOffsetMESA; return &glx; diff --git a/src/mesa/drivers/x11/glxapi.h b/src/mesa/drivers/x11/glxapi.h index 2ed05e6226..53b420352a 100644 --- a/src/mesa/drivers/x11/glxapi.h +++ b/src/mesa/drivers/x11/glxapi.h @@ -1,4 +1,4 @@ -/* $Id: glxapi.h,v 1.11.2.3 2002/09/20 17:37:13 brianp Exp $ */ +/* $Id: glxapi.h,v 1.11.2.4 2002/10/08 23:17:33 brianp Exp $ */ /* * Mesa 3-D graphics library @@ -196,12 +196,14 @@ struct _glxapi_table { /*** 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 ); }; diff --git a/src/mesa/drivers/x11/realglx.c b/src/mesa/drivers/x11/realglx.c index c9f9ae8c2e..2834370378 100644 --- a/src/mesa/drivers/x11/realglx.c +++ b/src/mesa/drivers/x11/realglx.c @@ -1,4 +1,4 @@ -/* $Id: realglx.c,v 1.4.2.1 2002/09/20 16:28:04 brianp Exp $ */ +/* $Id: realglx.c,v 1.4.2.2 2002/10/08 23:17:33 brianp Exp $ */ /* * Mesa 3-D graphics library @@ -170,9 +170,12 @@ _real_GetGLXDispatchTable(void) /*** 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; } |