diff options
author | bulach@chromium.org <bulach@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-07-26 15:30:31 +0000 |
---|---|---|
committer | bulach@chromium.org <bulach@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-07-26 15:30:31 +0000 |
commit | 61eeb33fdbc9925e18b7132947e99a895861b666 (patch) | |
tree | d00d8f10b3a54fb7d70e156520efdfab49a8dc1f /gpu/command_buffer/service/gles2_cmd_validation_implementation_autogen.h | |
parent | 901cbe9c14505c0c81aa06363975ae8011fa3ba5 (diff) | |
download | chromium_src-61eeb33fdbc9925e18b7132947e99a895861b666.zip chromium_src-61eeb33fdbc9925e18b7132947e99a895861b666.tar.gz chromium_src-61eeb33fdbc9925e18b7132947e99a895861b666.tar.bz2 |
Support GL_OES_EGL_image_external
Add support for GL_OES_EGL_image_external to the cmdbuffer code.
Original patch from http://codereview.chromium.org/7458008/
Landing on behalf of Daniel Sievers <sievers@chromium.org>
BUG=
TEST=new unit_tests
Review URL: http://codereview.chromium.org/7480014
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@94096 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'gpu/command_buffer/service/gles2_cmd_validation_implementation_autogen.h')
-rw-r--r-- | gpu/command_buffer/service/gles2_cmd_validation_implementation_autogen.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/gpu/command_buffer/service/gles2_cmd_validation_implementation_autogen.h b/gpu/command_buffer/service/gles2_cmd_validation_implementation_autogen.h index 3102b10..361c2dc 100644 --- a/gpu/command_buffer/service/gles2_cmd_validation_implementation_autogen.h +++ b/gpu/command_buffer/service/gles2_cmd_validation_implementation_autogen.h @@ -211,6 +211,16 @@ static GLenum valid_get_max_index_type_table[] = { GL_UNSIGNED_INT, }; +static GLenum valid_get_tex_param_target_table[] = { + GL_TEXTURE_2D, + GL_TEXTURE_CUBE_MAP_POSITIVE_X, + GL_TEXTURE_CUBE_MAP_NEGATIVE_X, + GL_TEXTURE_CUBE_MAP_POSITIVE_Y, + GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, + GL_TEXTURE_CUBE_MAP_POSITIVE_Z, + GL_TEXTURE_CUBE_MAP_NEGATIVE_Z, +}; + static GLenum valid_hint_mode_table[] = { GL_FASTEST, GL_NICEST, @@ -482,6 +492,9 @@ Validators::Validators() get_max_index_type( valid_get_max_index_type_table, arraysize( valid_get_max_index_type_table)), + get_tex_param_target( + valid_get_tex_param_target_table, arraysize( + valid_get_tex_param_target_table)), hint_mode( valid_hint_mode_table, arraysize(valid_hint_mode_table)), hint_target( |