From: Ian Romanick Date: Tue, 29 May 2012 19:50:54 +0000 (-0700) Subject: glapi: Remove GL_NV_vertex_array_range from the dispatch table X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=f18d3fe0cb459e5370625057024b84edbadfb097;p=mesa.git glapi: Remove GL_NV_vertex_array_range from the dispatch table There is no GLX protocol for these functions. Open-source Linux driver have not supported this extension for many years, and it seems unlikely at this point that this support will return. There's no reason to have slots for these functions in the dispatch table. The unit tests (GetProcAddress::TableDidntShrink and others) are also updated. Signed-off-by: Ian Romanick Reviewed-by: Brian Paul --- diff --git a/src/mapi/glapi/gen/gl_API.xml b/src/mapi/glapi/gen/gl_API.xml index aef4d82f78c..4bd0fc6b255 100644 --- a/src/mapi/glapi/gen/gl_API.xml +++ b/src/mapi/glapi/gen/gl_API.xml @@ -10539,11 +10539,11 @@ - + - + diff --git a/src/mapi/glapi/tests/check_table.cpp b/src/mapi/glapi/tests/check_table.cpp index c01de37c925..fa1aeb1fec1 100644 --- a/src/mapi/glapi/tests/check_table.cpp +++ b/src/mapi/glapi/tests/check_table.cpp @@ -96,8 +96,11 @@ TEST(GetProcAddress, TableDidntShrink) * * 7 entries were removed when GL_NV_fence was removed from the dispatch * table. + * + * 2 entries were removed when GL_NV_vertex_array_range was removed from + * the dispatch table. */ - EXPECT_GE(table_entries, 978u - 6u - 1u - 2u - 13u - 7u); + EXPECT_GE(table_entries, 978u - 6u - 1u - 2u - 13u - 7u - 2u); } TEST(GetProcAddress, QueriedDispatchSizeBigEnough) @@ -1294,8 +1297,6 @@ const struct name_offset known_dispatch[] = { { "glFogCoordfEXT", _O(FogCoordfEXT) }, { "glFogCoordfvEXT", _O(FogCoordfvEXT) }, { "glBlendFuncSeparateEXT", _O(BlendFuncSeparateEXT) }, - { "glFlushVertexArrayRangeNV", _O(FlushVertexArrayRangeNV) }, - { "glVertexArrayRangeNV", _O(VertexArrayRangeNV) }, { "glResizeBuffersMESA", _O(ResizeBuffersMESA) }, { "glWindowPos2dMESA", _O(WindowPos2dMESA) }, { "glWindowPos2dvMESA", _O(WindowPos2dvMESA) },