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 <ian.d.romanick@intel.com> Reviewed-by: Brian Paul <brianp@vmware.com>
This commit is contained in:
@@ -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) },
|
||||
|
||||
Reference in New Issue
Block a user