summaryrefslogtreecommitdiffstats
path: root/src/mapi/glapi/tests
diff options
context:
space:
mode:
authorIan Romanick <[email protected]>2012-05-29 12:32:27 -0700
committerIan Romanick <[email protected]>2012-06-13 13:17:54 -0700
commita6002909a38f45b0b8e99e158d222be6d347f898 (patch)
tree5011635432d303a9fd4a13a1a247711adc5e30c0 /src/mapi/glapi/tests
parente62c4c765c6ff81807b460ad3a7009618ae6cb77 (diff)
glapi: Remove GL_APPLE_texture_range 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.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/mapi/glapi/tests/check_table.cpp b/src/mapi/glapi/tests/check_table.cpp
index f1e73ed4a2b..28ac3a41bac 100644
--- a/src/mapi/glapi/tests/check_table.cpp
+++ b/src/mapi/glapi/tests/check_table.cpp
@@ -87,8 +87,11 @@ TEST(GetProcAddress, TableDidntShrink)
*
* 1 entry was removed when GL_SGIX_pixel_texture was removed from the
* dispatch table.
+ *
+ * 2 entries were removed when GL_APPLE_texture_range was removed from the
+ * dispatch table.
*/
- EXPECT_GE(table_entries, 978u - 6u - 1u);
+ EXPECT_GE(table_entries, 978u - 6u - 1u - 2u);
}
TEST(GetProcAddress, QueriedDispatchSizeBigEnough)
@@ -1506,8 +1509,6 @@ const struct name_offset known_dispatch[] = {
{ "glGetTransformFeedbackVaryingEXT", _O(GetTransformFeedbackVaryingEXT) },
{ "glTransformFeedbackVaryingsEXT", _O(TransformFeedbackVaryingsEXT) },
{ "glProvokingVertexEXT", _O(ProvokingVertexEXT) },
- { "glGetTexParameterPointervAPPLE", _O(GetTexParameterPointervAPPLE) },
- { "glTextureRangeAPPLE", _O(TextureRangeAPPLE) },
{ "glGetObjectParameterivAPPLE", _O(GetObjectParameterivAPPLE) },
{ "glObjectPurgeableAPPLE", _O(ObjectPurgeableAPPLE) },
{ "glObjectUnpurgeableAPPLE", _O(ObjectUnpurgeableAPPLE) },