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

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

Issue 169603002: Add initial support for NV_path_rendering extension to gpu command buffer (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 6 years, 8 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 ca49ced6f810c91238fd57d51620e13cd4727fc3..7b0d7a94e3e2c4ae6523cf3903836816ddd4ccee 100644
--- a/gpu/command_buffer/service/gles2_cmd_validation_implementation_autogen.h
+++ b/gpu/command_buffer/service/gles2_cmd_validation_implementation_autogen.h
@@ -183,6 +183,8 @@ static const GLenum valid_hint_target_table[] = {GL_GENERATE_MIPMAP_HINT, };
static const GLenum valid_index_type_table[] = {GL_UNSIGNED_BYTE,
GL_UNSIGNED_SHORT, };
+static const GLenum valid_matrix_mode_table[] = {GL_PROJECTION, GL_MODELVIEW, };
+
static const GLenum valid_pixel_store_table[] = {
GL_PACK_ALIGNMENT,
GL_UNPACK_ALIGNMENT,
@@ -361,6 +363,7 @@ Validators::Validators()
hint_mode(valid_hint_mode_table, arraysize(valid_hint_mode_table)),
hint_target(valid_hint_target_table, arraysize(valid_hint_target_table)),
index_type(valid_index_type_table, arraysize(valid_index_type_table)),
+ matrix_mode(valid_matrix_mode_table, arraysize(valid_matrix_mode_table)),
pixel_store(valid_pixel_store_table, arraysize(valid_pixel_store_table)),
pixel_store_alignment(valid_pixel_store_alignment_table,
arraysize(valid_pixel_store_alignment_table)),

Powered by Google App Engine
This is Rietveld 408576698