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

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

Issue 1559203003: Add GLStreamTextureImage (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: added enum, removed count parameter. Created 4 years, 10 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 7e6122cc38afcae24ca64738545f547ccc4f51c6..8a19d6b8f6a7f5ea252e0faa105f7a0c28a86788 100644
--- a/gpu/command_buffer/service/gles2_cmd_validation_implementation_autogen.h
+++ b/gpu/command_buffer/service/gles2_cmd_validation_implementation_autogen.h
@@ -175,6 +175,10 @@ static const GLenum valid_coverage_modulation_components_table[] = {
GL_RGB, GL_RGBA, GL_ALPHA, GL_NONE,
};
+static const GLenum valid_custom_matrix_parameter_table[] = {
+ GL_CUSTOM_MATRIX_STREAM_TEXTURE_CHROMIUM,
+};
+
bool Validators::DrawModeValidator::IsValid(const GLenum value) const {
switch (value) {
case GL_POINTS:
@@ -1371,6 +1375,8 @@ Validators::Validators()
coverage_modulation_components(
valid_coverage_modulation_components_table,
arraysize(valid_coverage_modulation_components_table)),
+ custom_matrix_parameter(valid_custom_matrix_parameter_table,
+ arraysize(valid_custom_matrix_parameter_table)),
dst_blend_factor(valid_dst_blend_factor_table,
arraysize(valid_dst_blend_factor_table)),
equation(valid_equation_table, arraysize(valid_equation_table)),

Powered by Google App Engine
This is Rietveld 408576698