summaryrefslogtreecommitdiffstats
path: root/src/mapi/glapi/tests/check_table.cpp
diff options
context:
space:
mode:
authorIan Romanick <[email protected]>2012-05-29 12:46:54 -0700
committerIan Romanick <[email protected]>2012-06-13 13:17:56 -0700
commit69d1851757424c530d36ae93fba462db5cf3f731 (patch)
treeb813ac01b48a24be9cff6534281f2d61a4994a4a /src/mapi/glapi/tests/check_table.cpp
parent6db7cf29b5229d8cb206973c0283d56a1e025c93 (diff)
glapi: Remove GL_NV_fence 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.cpp12
1 files changed, 4 insertions, 8 deletions
diff --git a/src/mapi/glapi/tests/check_table.cpp b/src/mapi/glapi/tests/check_table.cpp
index 7471c8cc015..c01de37c925 100644
--- a/src/mapi/glapi/tests/check_table.cpp
+++ b/src/mapi/glapi/tests/check_table.cpp
@@ -93,8 +93,11 @@ TEST(GetProcAddress, TableDidntShrink)
*
* 13 entries were removed when GL_NV_register_combiners was removed from
* the dispatch table.
+ *
+ * 7 entries were removed when GL_NV_fence was removed from the dispatch
+ * table.
*/
- EXPECT_GE(table_entries, 978u - 6u - 1u - 2u - 13u);
+ EXPECT_GE(table_entries, 978u - 6u - 1u - 2u - 13u - 7u);
}
TEST(GetProcAddress, QueriedDispatchSizeBigEnough)
@@ -1320,13 +1323,6 @@ const struct name_offset known_dispatch[] = {
{ "glWindowPos4svMESA", _O(WindowPos4svMESA) },
{ "glMultiModeDrawArraysIBM", _O(MultiModeDrawArraysIBM) },
{ "glMultiModeDrawElementsIBM", _O(MultiModeDrawElementsIBM) },
- { "glDeleteFencesNV", _O(DeleteFencesNV) },
- { "glFinishFenceNV", _O(FinishFenceNV) },
- { "glGenFencesNV", _O(GenFencesNV) },
- { "glGetFenceivNV", _O(GetFenceivNV) },
- { "glIsFenceNV", _O(IsFenceNV) },
- { "glSetFenceNV", _O(SetFenceNV) },
- { "glTestFenceNV", _O(TestFenceNV) },
{ "glAreProgramsResidentNV", _O(AreProgramsResidentNV) },
{ "glBindProgramNV", _O(BindProgramNV) },
{ "glDeleteProgramsNV", _O(DeleteProgramsNV) },