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

Side by Side Diff: gpu/command_buffer/service/gles2_cmd_validation_implementation_autogen.h

Issue 1136713003: Add ES3 commands GetVertexAttribI{u}iv to GPU command buffer. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 5 years, 7 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 unified diff | Download patch
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // This file is auto-generated from 5 // This file is auto-generated from
6 // gpu/command_buffer/build_gles2_cmd_buffer.py 6 // gpu/command_buffer/build_gles2_cmd_buffer.py
7 // It's formatted by clang-format using chromium coding style: 7 // It's formatted by clang-format using chromium coding style:
8 // clang-format -i -style=chromium filename 8 // clang-format -i -style=chromium filename
9 // DO NOT EDIT! 9 // DO NOT EDIT!
10 10
(...skipping 928 matching lines...) Expand 10 before | Expand all | Expand 10 after
939 static const GLenum valid_vertex_attribute_table[] = { 939 static const GLenum valid_vertex_attribute_table[] = {
940 GL_VERTEX_ATTRIB_ARRAY_NORMALIZED, 940 GL_VERTEX_ATTRIB_ARRAY_NORMALIZED,
941 GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING, 941 GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING,
942 GL_VERTEX_ATTRIB_ARRAY_ENABLED, 942 GL_VERTEX_ATTRIB_ARRAY_ENABLED,
943 GL_VERTEX_ATTRIB_ARRAY_SIZE, 943 GL_VERTEX_ATTRIB_ARRAY_SIZE,
944 GL_VERTEX_ATTRIB_ARRAY_STRIDE, 944 GL_VERTEX_ATTRIB_ARRAY_STRIDE,
945 GL_VERTEX_ATTRIB_ARRAY_TYPE, 945 GL_VERTEX_ATTRIB_ARRAY_TYPE,
946 GL_CURRENT_VERTEX_ATTRIB, 946 GL_CURRENT_VERTEX_ATTRIB,
947 }; 947 };
948 948
949 static const GLenum valid_vertex_attribute_table_es3[] = {
950 GL_VERTEX_ATTRIB_ARRAY_INTEGER,
951 GL_VERTEX_ATTRIB_ARRAY_DIVISOR,
952 };
953
949 static const GLenum valid_vertex_pointer_table[] = { 954 static const GLenum valid_vertex_pointer_table[] = {
950 GL_VERTEX_ATTRIB_ARRAY_POINTER, 955 GL_VERTEX_ATTRIB_ARRAY_POINTER,
951 }; 956 };
952 957
953 Validators::Validators() 958 Validators::Validators()
954 : attachment(valid_attachment_table, arraysize(valid_attachment_table)), 959 : attachment(valid_attachment_table, arraysize(valid_attachment_table)),
955 backbuffer_attachment(valid_backbuffer_attachment_table, 960 backbuffer_attachment(valid_backbuffer_attachment_table,
956 arraysize(valid_backbuffer_attachment_table)), 961 arraysize(valid_backbuffer_attachment_table)),
957 blit_filter(valid_blit_filter_table, arraysize(valid_blit_filter_table)), 962 blit_filter(valid_blit_filter_table, arraysize(valid_blit_filter_table)),
958 buffer_mode(valid_buffer_mode_table, arraysize(valid_buffer_mode_table)), 963 buffer_mode(valid_buffer_mode_table, arraysize(valid_buffer_mode_table)),
(...skipping 157 matching lines...) Expand 10 before | Expand all | Expand 10 after
1116 valid_texture_internal_format_table_es3, 1121 valid_texture_internal_format_table_es3,
1117 arraysize(valid_texture_internal_format_table_es3)); 1122 arraysize(valid_texture_internal_format_table_es3));
1118 texture_internal_format_storage.RemoveValues( 1123 texture_internal_format_storage.RemoveValues(
1119 deprecated_texture_internal_format_storage_table_es3, 1124 deprecated_texture_internal_format_storage_table_es3,
1120 arraysize(deprecated_texture_internal_format_storage_table_es3)); 1125 arraysize(deprecated_texture_internal_format_storage_table_es3));
1121 texture_internal_format_storage.AddValues( 1126 texture_internal_format_storage.AddValues(
1122 valid_texture_internal_format_storage_table_es3, 1127 valid_texture_internal_format_storage_table_es3,
1123 arraysize(valid_texture_internal_format_storage_table_es3)); 1128 arraysize(valid_texture_internal_format_storage_table_es3));
1124 texture_parameter.AddValues(valid_texture_parameter_table_es3, 1129 texture_parameter.AddValues(valid_texture_parameter_table_es3,
1125 arraysize(valid_texture_parameter_table_es3)); 1130 arraysize(valid_texture_parameter_table_es3));
1131 vertex_attribute.AddValues(valid_vertex_attribute_table_es3,
1132 arraysize(valid_vertex_attribute_table_es3));
1126 } 1133 }
1127 1134
1128 #endif // GPU_COMMAND_BUFFER_SERVICE_GLES2_CMD_VALIDATION_IMPLEMENTATION_AUTOGE N_H_ 1135 #endif // GPU_COMMAND_BUFFER_SERVICE_GLES2_CMD_VALIDATION_IMPLEMENTATION_AUTOGE N_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698