summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/tests
diff options
context:
space:
mode:
authorBrian Paul <brianp@vmware.com>2015-07-21 18:35:38 -0600
committerBrian Paul <brianp@vmware.com>2015-07-21 18:35:38 -0600
commit48f9f0bfdd6bfb0ab4844cf005c1534c86cd3836 (patch)
treebe71e06b617b0658498bed844a549a6dfe2ca554 /src/mesa/main/tests
parent2494f91fb82eb545fd59ed4c9850ff378fc0c591 (diff)
downloadexternal_mesa3d-48f9f0bfdd6bfb0ab4844cf005c1534c86cd3836.zip
external_mesa3d-48f9f0bfdd6bfb0ab4844cf005c1534c86cd3836.tar.gz
external_mesa3d-48f9f0bfdd6bfb0ab4844cf005c1534c86cd3836.tar.bz2
mesa: add API dispatch for GL_ARB_get_texture_sub_image
This adds the new glGetTextureSubImage() and glGetCompressedTextureSubImage() functions. Also update the dispatch sanity test program. v2: remove stray brace, move xi:include line in gl_API.xml, fix extension number typo, s/program/texture/ in xml file. Reviewed-by: Ilia Mirkin <imirkin@alum.mit.edu>
Diffstat (limited to 'src/mesa/main/tests')
-rw-r--r--src/mesa/main/tests/dispatch_sanity.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/mesa/main/tests/dispatch_sanity.cpp b/src/mesa/main/tests/dispatch_sanity.cpp
index 800720b..901e6fc 100644
--- a/src/mesa/main/tests/dispatch_sanity.cpp
+++ b/src/mesa/main/tests/dispatch_sanity.cpp
@@ -930,6 +930,11 @@ const struct function common_desktop_functions_possible[] = {
/* GL_EXT_polygon_offset_clamp */
{ "glPolygonOffsetClampEXT", 11, -1 },
+
+ /* GL_ARB_get_texture_sub_image */
+ { "glGetTextureSubImage", 20, -1 },
+ { "glGetCompressedTextureSubImage", 20, -1 },
+
{ NULL, 0, -1 }
};