summaryrefslogtreecommitdiffstats
path: root/src/mapi/glapi/tests
diff options
context:
space:
mode:
authorIan Romanick <[email protected]>2012-05-29 12:15:11 -0700
committerIan Romanick <[email protected]>2012-06-13 13:17:54 -0700
commit933714aabe5464f6168909738f9ffe712e457f26 (patch)
tree4526cea491e5f31ba592963a5bfca67f28027b20 /src/mapi/glapi/tests
parenta29ad2b421b75a1727b3460db27b9f57e0bb226d (diff)
glapi: Remove GL_SGIS_pixel_texture from the dispatch table
There is no GLX protocol for these functions, and no Linux driver has ever supported this extension. 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.cpp11
1 files changed, 4 insertions, 7 deletions
diff --git a/src/mapi/glapi/tests/check_table.cpp b/src/mapi/glapi/tests/check_table.cpp
index 492587b131b..b2da94e5236 100644
--- a/src/mapi/glapi/tests/check_table.cpp
+++ b/src/mapi/glapi/tests/check_table.cpp
@@ -81,8 +81,11 @@ TEST(GetProcAddress, TableDidntShrink)
*
* Changes that accidentally reduce the size of the table are bugs, and
* they should be fixed.
+ *
+ * 6 entries were removed when GL_SGIS_pixel_texture was removed from the
+ * dispatch table.
*/
- EXPECT_GE(table_entries, 978u);
+ EXPECT_GE(table_entries, 978u - 6u);
}
TEST(GetProcAddress, QueriedDispatchSizeBigEnough)
@@ -1242,12 +1245,6 @@ const struct name_offset known_dispatch[] = {
{ "glTextureStorage2DEXT", _O(TextureStorage2DEXT) },
{ "glTextureStorage3DEXT", _O(TextureStorage3DEXT) },
{ "glPolygonOffsetEXT", _O(PolygonOffsetEXT) },
- { "glGetPixelTexGenParameterfvSGIS", _O(GetPixelTexGenParameterfvSGIS) },
- { "glGetPixelTexGenParameterivSGIS", _O(GetPixelTexGenParameterivSGIS) },
- { "glPixelTexGenParameterfSGIS", _O(PixelTexGenParameterfSGIS) },
- { "glPixelTexGenParameterfvSGIS", _O(PixelTexGenParameterfvSGIS) },
- { "glPixelTexGenParameteriSGIS", _O(PixelTexGenParameteriSGIS) },
- { "glPixelTexGenParameterivSGIS", _O(PixelTexGenParameterivSGIS) },
{ "glSampleMaskSGIS", _O(SampleMaskSGIS) },
{ "glSamplePatternSGIS", _O(SamplePatternSGIS) },
{ "glColorPointerEXT", _O(ColorPointerEXT) },