summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIan Romanick <ian.d.romanick@intel.com>2012-05-29 12:50:54 -0700
committerIan Romanick <ian.d.romanick@intel.com>2012-06-13 13:17:56 -0700
commitf18d3fe0cb459e5370625057024b84edbadfb097 (patch)
tree69cbfc95b46e44e52f949712b5fee3dad0e118f0
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 <ian.d.romanick@intel.com> Reviewed-by: Brian Paul <brianp@vmware.com>
-rw-r--r--src/mapi/glapi/gen/gl_API.xml4
-rw-r--r--src/mapi/glapi/tests/check_table.cpp7
2 files changed, 6 insertions, 5 deletions
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 @@
</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"/>
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) },