aboutsummaryrefslogtreecommitdiffstats
path: root/src/mapi/glapi
diff options
context:
space:
mode:
authorIan Romanick <[email protected]>2012-05-29 12:23:36 -0700
committerIan Romanick <[email protected]>2012-06-13 13:17:54 -0700
commite62c4c765c6ff81807b460ad3a7009618ae6cb77 (patch)
treedcc3a1ffef04df89e4c6d29ec7dd18ff4253a39c /src/mapi/glapi
parent933714aabe5464f6168909738f9ffe712e457f26 (diff)
glapi: Remove GL_SGIX_pixel_texture from the dispatch table
There is no GLX protocol for this function. 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 this function 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')
-rw-r--r--src/mapi/glapi/gen/gl_API.xml2
-rw-r--r--src/mapi/glapi/tests/check_table.cpp6
2 files changed, 5 insertions, 3 deletions
diff --git a/src/mapi/glapi/gen/gl_API.xml b/src/mapi/glapi/gen/gl_API.xml
index e7bb0bade97..e0c5b8a301e 100644
--- a/src/mapi/glapi/gen/gl_API.xml
+++ b/src/mapi/glapi/gen/gl_API.xml
@@ -10020,7 +10020,7 @@
</category>
<category name="GL_SGIX_pixel_texture" number="160">
- <function name="PixelTexGenSGIX" offset="assign" static_dispatch="false">
+ <function name="PixelTexGenSGIX">
<param name="mode" type="GLenum"/>
<glx rop="2059" ignore="true"/>
</function>
diff --git a/src/mapi/glapi/tests/check_table.cpp b/src/mapi/glapi/tests/check_table.cpp
index b2da94e5236..f1e73ed4a2b 100644
--- a/src/mapi/glapi/tests/check_table.cpp
+++ b/src/mapi/glapi/tests/check_table.cpp
@@ -84,8 +84,11 @@ TEST(GetProcAddress, TableDidntShrink)
*
* 6 entries were removed when GL_SGIS_pixel_texture was removed from the
* dispatch table.
+ *
+ * 1 entry was removed when GL_SGIX_pixel_texture was removed from the
+ * dispatch table.
*/
- EXPECT_GE(table_entries, 978u - 6u);
+ EXPECT_GE(table_entries, 978u - 6u - 1u);
}
TEST(GetProcAddress, QueriedDispatchSizeBigEnough)
@@ -1281,7 +1284,6 @@ const struct name_offset known_dispatch[] = {
{ "glFogCoorddvEXT", _O(FogCoorddvEXT) },
{ "glFogCoordfEXT", _O(FogCoordfEXT) },
{ "glFogCoordfvEXT", _O(FogCoordfvEXT) },
- { "glPixelTexGenSGIX", _O(PixelTexGenSGIX) },
{ "glBlendFuncSeparateEXT", _O(BlendFuncSeparateEXT) },
{ "glFlushVertexArrayRangeNV", _O(FlushVertexArrayRangeNV) },
{ "glVertexArrayRangeNV", _O(VertexArrayRangeNV) },