summaryrefslogtreecommitdiffstats
path: root/src/mapi/glapi/tests/check_table.cpp
diff options
context:
space:
mode:
authorIan Romanick <[email protected]>2012-05-29 12:41:08 -0700
committerIan Romanick <[email protected]>2012-06-13 13:17:56 -0700
commit6db7cf29b5229d8cb206973c0283d56a1e025c93 (patch)
tree5723e7ca53357eb8263e6ac63cc403168f75b9e9 /src/mapi/glapi/tests/check_table.cpp
parenta6002909a38f45b0b8e99e158d222be6d347f898 (diff)
glapi: Remove GL_NV_register_combiners from the dispatch table
There is no GLX protocol for these functions. No open-source Linux driver has ever supported this extension, and it seems unlikely at this point that one ever will. 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/check_table.cpp')
-rw-r--r--src/mapi/glapi/tests/check_table.cpp18
1 files changed, 4 insertions, 14 deletions
diff --git a/src/mapi/glapi/tests/check_table.cpp b/src/mapi/glapi/tests/check_table.cpp
index 28ac3a41bac..7471c8cc015 100644
--- a/src/mapi/glapi/tests/check_table.cpp
+++ b/src/mapi/glapi/tests/check_table.cpp
@@ -90,8 +90,11 @@ TEST(GetProcAddress, TableDidntShrink)
*
* 2 entries were removed when GL_APPLE_texture_range was removed from the
* dispatch table.
+ *
+ * 13 entries were removed when GL_NV_register_combiners was removed from
+ * the dispatch table.
*/
- EXPECT_GE(table_entries, 978u - 6u - 1u - 2u);
+ EXPECT_GE(table_entries, 978u - 6u - 1u - 2u - 13u);
}
TEST(GetProcAddress, QueriedDispatchSizeBigEnough)
@@ -1290,19 +1293,6 @@ const struct name_offset known_dispatch[] = {
{ "glBlendFuncSeparateEXT", _O(BlendFuncSeparateEXT) },
{ "glFlushVertexArrayRangeNV", _O(FlushVertexArrayRangeNV) },
{ "glVertexArrayRangeNV", _O(VertexArrayRangeNV) },
- { "glCombinerInputNV", _O(CombinerInputNV) },
- { "glCombinerOutputNV", _O(CombinerOutputNV) },
- { "glCombinerParameterfNV", _O(CombinerParameterfNV) },
- { "glCombinerParameterfvNV", _O(CombinerParameterfvNV) },
- { "glCombinerParameteriNV", _O(CombinerParameteriNV) },
- { "glCombinerParameterivNV", _O(CombinerParameterivNV) },
- { "glFinalCombinerInputNV", _O(FinalCombinerInputNV) },
- { "glGetCombinerInputParameterfvNV", _O(GetCombinerInputParameterfvNV) },
- { "glGetCombinerInputParameterivNV", _O(GetCombinerInputParameterivNV) },
- { "glGetCombinerOutputParameterfvNV", _O(GetCombinerOutputParameterfvNV) },
- { "glGetCombinerOutputParameterivNV", _O(GetCombinerOutputParameterivNV) },
- { "glGetFinalCombinerInputParameterfvNV", _O(GetFinalCombinerInputParameterfvNV) },
- { "glGetFinalCombinerInputParameterivNV", _O(GetFinalCombinerInputParameterivNV) },
{ "glResizeBuffersMESA", _O(ResizeBuffersMESA) },
{ "glWindowPos2dMESA", _O(WindowPos2dMESA) },
{ "glWindowPos2dvMESA", _O(WindowPos2dvMESA) },