OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 // DO NOT EDIT! | 7 // DO NOT EDIT! |
8 | 8 |
9 #ifndef GPU_COMMAND_BUFFER_SERVICE_GLES2_CMD_VALIDATION_IMPLEMENTATION_AUTOGEN_H
_ // NOLINT | 9 #ifndef GPU_COMMAND_BUFFER_SERVICE_GLES2_CMD_VALIDATION_IMPLEMENTATION_AUTOGEN_H
_ // NOLINT |
10 #define GPU_COMMAND_BUFFER_SERVICE_GLES2_CMD_VALIDATION_IMPLEMENTATION_AUTOGEN_H
_ // NOLINT | 10 #define GPU_COMMAND_BUFFER_SERVICE_GLES2_CMD_VALIDATION_IMPLEMENTATION_AUTOGEN_H
_ // NOLINT |
(...skipping 221 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
232 }; | 232 }; |
233 | 233 |
234 static GLenum valid_index_type_table[] = { | 234 static GLenum valid_index_type_table[] = { |
235 GL_UNSIGNED_BYTE, | 235 GL_UNSIGNED_BYTE, |
236 GL_UNSIGNED_SHORT, | 236 GL_UNSIGNED_SHORT, |
237 }; | 237 }; |
238 | 238 |
239 static GLenum valid_pixel_store_table[] = { | 239 static GLenum valid_pixel_store_table[] = { |
240 GL_PACK_ALIGNMENT, | 240 GL_PACK_ALIGNMENT, |
241 GL_UNPACK_ALIGNMENT, | 241 GL_UNPACK_ALIGNMENT, |
242 GL_UNPACK_FLIP_Y_CHROMIUM, | |
243 GL_UNPACK_PREMULTIPLY_ALPHA_CHROMIUM, | |
244 }; | 242 }; |
245 | 243 |
246 static GLint valid_pixel_store_alignment_table[] = { | 244 static GLint valid_pixel_store_alignment_table[] = { |
247 1, | 245 1, |
248 2, | 246 2, |
249 4, | 247 4, |
250 8, | 248 8, |
251 }; | 249 }; |
252 | 250 |
253 static GLenum valid_pixel_type_table[] = { | 251 static GLenum valid_pixel_type_table[] = { |
(...skipping 365 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
619 valid_vertex_attribute_table, arraysize( | 617 valid_vertex_attribute_table, arraysize( |
620 valid_vertex_attribute_table)), | 618 valid_vertex_attribute_table)), |
621 vertex_pointer( | 619 vertex_pointer( |
622 valid_vertex_pointer_table, arraysize(valid_vertex_pointer_table)), | 620 valid_vertex_pointer_table, arraysize(valid_vertex_pointer_table)), |
623 zero_only( | 621 zero_only( |
624 valid_zero_only_table, arraysize(valid_zero_only_table)) { | 622 valid_zero_only_table, arraysize(valid_zero_only_table)) { |
625 } | 623 } |
626 | 624 |
627 #endif // GPU_COMMAND_BUFFER_SERVICE_GLES2_CMD_VALIDATION_IMPLEMENTATION_AUTOGE
N_H_ // NOLINT | 625 #endif // GPU_COMMAND_BUFFER_SERVICE_GLES2_CMD_VALIDATION_IMPLEMENTATION_AUTOGE
N_H_ // NOLINT |
628 | 626 |
OLD | NEW |