summaryrefslogtreecommitdiffstats
path: root/src/mapi/glapi/tests
diff options
context:
space:
mode:
authorIan Romanick <[email protected]>2012-05-29 12:50:54 -0700
committerIan Romanick <[email protected]>2012-06-13 13:17:56 -0700
commitf18d3fe0cb459e5370625057024b84edbadfb097 (patch)
tree69cbfc95b46e44e52f949712b5fee3dad0e118f0 /src/mapi/glapi/tests
parent69d1851757424c530d36ae93fba462db5cf3f731 (diff)
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 <[email protected]> Reviewed-by: Brian Paul <[email protected]>
Diffstat (limited to 'src/mapi/glapi/tests')
-rw-r--r--src/mapi/glapi/tests/check_table.cpp7
1 files changed, 4 insertions, 3 deletions
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) },