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:
Ian Romanick 2012-05-29 12:50:54 -07:00
parent 69d1851757
commit f18d3fe0cb
2 changed files with 6 additions and 5 deletions

View File

@ -10539,11 +10539,11 @@
</category>
<category name="GL_NV_vertex_array_range" number="190">
<function name="FlushVertexArrayRangeNV" offset="assign">
<function name="FlushVertexArrayRangeNV">
<glx ignore="true"/>
</function>
<function name="VertexArrayRangeNV" offset="assign">
<function name="VertexArrayRangeNV">
<param name="length" type="GLsizei"/>
<param name="pointer" type="const GLvoid *"/>
<glx ignore="true"/>

View File

@ -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) },