Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(206)

Unified Diff: gpu/command_buffer/service/gles2_cmd_validation_implementation_autogen.h

Issue 7458008: Support GL_OES_EGL_image_external (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Created 9 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: gpu/command_buffer/service/gles2_cmd_validation_implementation_autogen.h
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 3102b105f454c65fcc140c52a592c07ecaae9f48..361c2dcf4e4f67f7e0de5a471bbf26e9d2770d7a 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(

Powered by Google App Engine
This is Rietveld 408576698