diff options
Diffstat (limited to 'src/mesa/drivers/dri')
| -rw-r--r-- | src/mesa/drivers/dri/common/extension_helper.h | 30 | 
1 files changed, 26 insertions, 4 deletions
diff --git a/src/mesa/drivers/dri/common/extension_helper.h b/src/mesa/drivers/dri/common/extension_helper.h index f5e35e4161..261b5f6067 100644 --- a/src/mesa/drivers/dri/common/extension_helper.h +++ b/src/mesa/drivers/dri/common/extension_helper.h @@ -2773,10 +2773,10 @@ static const char Uniform4fARB_names[] =      "";  #endif -#if defined(need_GL_IBM_multimode_draw_arrays) -static const char MultiModeDrawArraysIBM_names[] =  -    "pppii\0" /* Parameter signature */ -    "glMultiModeDrawArraysIBM\0" +#if defined(need_GL_ARB_map_buffer_range) +static const char FlushMappedBufferRange_names[] =  +    "iii\0" /* Parameter signature */ +    "glFlushMappedBufferRange\0"      "";  #endif @@ -3904,6 +3904,13 @@ static const char VertexAttribs4dvNV_names[] =      "";  #endif +#if defined(need_GL_IBM_multimode_draw_arrays) +static const char MultiModeDrawArraysIBM_names[] =  +    "pppii\0" /* Parameter signature */ +    "glMultiModeDrawArraysIBM\0" +    ""; +#endif +  #if defined(need_GL_VERSION_2_0) || defined(need_GL_ARB_vertex_program)  static const char VertexAttrib4dARB_names[] =       "idddd\0" /* Parameter signature */ @@ -4055,6 +4062,13 @@ static const char IsVertexArrayAPPLE_names[] =      "";  #endif +#if defined(need_GL_ARB_map_buffer_range) +static const char MapBufferRange_names[] =  +    "iiii\0" /* Parameter signature */ +    "glMapBufferRange\0" +    ""; +#endif +  #if defined(need_GL_NV_vertex_program)  static const char ProgramParameters4dvNV_names[] =       "iiip\0" /* Parameter signature */ @@ -4986,6 +5000,14 @@ static const struct dri_extension_function GL_ARB_framebuffer_object_functions[]  };  #endif +#if defined(need_GL_ARB_map_buffer_range) +static const struct dri_extension_function GL_ARB_map_buffer_range_functions[] = { +    { FlushMappedBufferRange_names, FlushMappedBufferRange_remap_index, -1 }, +    { MapBufferRange_names, MapBufferRange_remap_index, -1 }, +    { NULL, 0, 0 } +}; +#endif +  #if defined(need_GL_ARB_matrix_palette)  static const struct dri_extension_function GL_ARB_matrix_palette_functions[] = {      { MatrixIndexusvARB_names, MatrixIndexusvARB_remap_index, -1 },  | 
