diff options
author | Ian Romanick <idr@us.ibm.com> | 2006-06-12 16:26:29 +0000 |
---|---|---|
committer | Ian Romanick <idr@us.ibm.com> | 2006-06-12 16:26:29 +0000 |
commit | ee34e6ef716bb630440299ac1efbc2055ef09ffd (patch) | |
tree | 561a6314f8115c8dfafc7a3336c89d43f21a301a /src/mesa/main/dlist.c | |
parent | 6254d5904366ae17cb707ee70ff1ce76092f9c81 (diff) | |
download | external_mesa3d-ee34e6ef716bb630440299ac1efbc2055ef09ffd.zip external_mesa3d-ee34e6ef716bb630440299ac1efbc2055ef09ffd.tar.gz external_mesa3d-ee34e6ef716bb630440299ac1efbc2055ef09ffd.tar.bz2 |
Add support for GL_APPLE_vertex_array_object. Several test programs
and demos are also added.
Adding basic support to drivers should be as easy as just enabling the
extension, though thorough test would also be required.
Diffstat (limited to 'src/mesa/main/dlist.c')
-rw-r--r-- | src/mesa/main/dlist.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/mesa/main/dlist.c b/src/mesa/main/dlist.c index cbf00f7..883fa73 100644 --- a/src/mesa/main/dlist.c +++ b/src/mesa/main/dlist.c @@ -43,6 +43,7 @@ #if FEATURE_ARB_vertex_buffer_object #include "bufferobj.h" #endif +#include "arrayobj.h" #include "clip.h" #include "colormac.h" #include "colortab.h" @@ -8031,6 +8032,12 @@ _mesa_init_dlist_table(struct _glapi_table *table) /* 268. GL_EXT_stencil_two_side */ SET_ActiveStencilFaceEXT(table, save_ActiveStencilFaceEXT); + /* 273. GL_APPLE_vertex_array_object */ + SET_BindVertexArrayAPPLE(table, _mesa_BindVertexArrayAPPLE); + SET_DeleteVertexArraysAPPLE(table, _mesa_DeleteVertexArraysAPPLE); + SET_GenVertexArraysAPPLE(table, _mesa_GenVertexArraysAPPLE); + SET_IsVertexArrayAPPLE(table, _mesa_IsVertexArrayAPPLE); + /* ???. GL_EXT_depth_bounds_test */ SET_DepthBoundsEXT(table, save_DepthBoundsEXT); |