OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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_COMMON_GLES2_CMD_UTILS_IMPLEMENTATION_AUTOGEN_H_ | 9 #ifndef GPU_COMMAND_BUFFER_COMMON_GLES2_CMD_UTILS_IMPLEMENTATION_AUTOGEN_H_ |
10 #define GPU_COMMAND_BUFFER_COMMON_GLES2_CMD_UTILS_IMPLEMENTATION_AUTOGEN_H_ | 10 #define GPU_COMMAND_BUFFER_COMMON_GLES2_CMD_UTILS_IMPLEMENTATION_AUTOGEN_H_ |
(...skipping 161 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
172 { 0x8ED5, "GL_COVERAGE_ALL_FRAGMENTS_NV", }, | 172 { 0x8ED5, "GL_COVERAGE_ALL_FRAGMENTS_NV", }, |
173 { 0x8ED4, "GL_COVERAGE_SAMPLES_NV", }, | 173 { 0x8ED4, "GL_COVERAGE_SAMPLES_NV", }, |
174 { 0x8ED3, "GL_COVERAGE_BUFFERS_NV", }, | 174 { 0x8ED3, "GL_COVERAGE_BUFFERS_NV", }, |
175 { 0x8ED2, "GL_COVERAGE_ATTACHMENT_NV", }, | 175 { 0x8ED2, "GL_COVERAGE_ATTACHMENT_NV", }, |
176 { 0x8ED1, "GL_COVERAGE_COMPONENT4_NV", }, | 176 { 0x8ED1, "GL_COVERAGE_COMPONENT4_NV", }, |
177 { 0x8ED0, "GL_COVERAGE_COMPONENT_NV", }, | 177 { 0x8ED0, "GL_COVERAGE_COMPONENT_NV", }, |
178 { 0x800B, "GL_FUNC_REVERSE_SUBTRACT", }, | 178 { 0x800B, "GL_FUNC_REVERSE_SUBTRACT", }, |
179 { 0x00000400, "GL_STENCIL_BUFFER_BIT", }, | 179 { 0x00000400, "GL_STENCIL_BUFFER_BIT", }, |
180 { 0x800A, "GL_FUNC_SUBTRACT", }, | 180 { 0x800A, "GL_FUNC_SUBTRACT", }, |
181 { 0x8E2C, "GL_DEPTH_COMPONENT16_NONLINEAR_NV", }, | 181 { 0x8E2C, "GL_DEPTH_COMPONENT16_NONLINEAR_NV", }, |
182 { 0x889F, "GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING", }, | 182 { 0x8508, "GL_DECR_WRAP", }, |
183 { 0x8006, "GL_FUNC_ADD", }, | 183 { 0x8006, "GL_FUNC_ADD", }, |
184 { 0x8007, "GL_MIN_EXT", }, | 184 { 0x8007, "GL_MIN_EXT", }, |
185 { 0x8004, "GL_ONE_MINUS_CONSTANT_ALPHA", }, | 185 { 0x8004, "GL_ONE_MINUS_CONSTANT_ALPHA", }, |
186 { 0x8005, "GL_BLEND_COLOR", }, | 186 { 0x8005, "GL_BLEND_COLOR", }, |
187 { 0x8002, "GL_ONE_MINUS_CONSTANT_COLOR", }, | 187 { 0x8002, "GL_ONE_MINUS_CONSTANT_COLOR", }, |
188 { 0x8003, "GL_CONSTANT_ALPHA", }, | 188 { 0x8003, "GL_CONSTANT_ALPHA", }, |
189 { 0x8000, "GL_COVERAGE_BUFFER_BIT_NV", }, | 189 { 0x8000, "GL_COVERAGE_BUFFER_BIT_NV", }, |
190 { 0x8001, "GL_CONSTANT_COLOR", }, | 190 { 0x8001, "GL_CONSTANT_COLOR", }, |
191 { 0x0204, "GL_GREATER", }, | 191 { 0x0204, "GL_GREATER", }, |
192 { 0x0205, "GL_NOTEQUAL", }, | 192 { 0x0205, "GL_NOTEQUAL", }, |
(...skipping 201 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
394 { 0x8CA9, "GL_DRAW_FRAMEBUFFER", }, | 394 { 0x8CA9, "GL_DRAW_FRAMEBUFFER", }, |
395 { 0x8CA6, "GL_FRAMEBUFFER_BINDING", }, | 395 { 0x8CA6, "GL_FRAMEBUFFER_BINDING", }, |
396 { 0x8CA7, "GL_RENDERBUFFER_BINDING", }, | 396 { 0x8CA7, "GL_RENDERBUFFER_BINDING", }, |
397 { 0x8CA4, "GL_STENCIL_BACK_VALUE_MASK", }, | 397 { 0x8CA4, "GL_STENCIL_BACK_VALUE_MASK", }, |
398 { 0x8CA5, "GL_STENCIL_BACK_WRITEMASK", }, | 398 { 0x8CA5, "GL_STENCIL_BACK_WRITEMASK", }, |
399 { 0x8CA3, "GL_STENCIL_BACK_REF", }, | 399 { 0x8CA3, "GL_STENCIL_BACK_REF", }, |
400 { 0x80CB, "GL_BLEND_SRC_ALPHA", }, | 400 { 0x80CB, "GL_BLEND_SRC_ALPHA", }, |
401 { 0x80CA, "GL_BLEND_DST_ALPHA", }, | 401 { 0x80CA, "GL_BLEND_DST_ALPHA", }, |
402 { 0x8CD6, "GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT", }, | 402 { 0x8CD6, "GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT", }, |
403 { 0x8872, "GL_MAX_TEXTURE_IMAGE_UNITS", }, | 403 { 0x8872, "GL_MAX_TEXTURE_IMAGE_UNITS", }, |
404 { 0x8508, "GL_DECR_WRAP", }, | 404 { 0x889F, "GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING", }, |
405 { 0x8507, "GL_INCR_WRAP", }, | 405 { 0x8507, "GL_INCR_WRAP", }, |
406 { 0x8895, "GL_ELEMENT_ARRAY_BUFFER_BINDING", }, | 406 { 0x8895, "GL_ELEMENT_ARRAY_BUFFER_BINDING", }, |
407 { 0x8894, "GL_ARRAY_BUFFER_BINDING", }, | 407 { 0x8894, "GL_ARRAY_BUFFER_BINDING", }, |
408 { 0x8893, "GL_ELEMENT_ARRAY_BUFFER", }, | 408 { 0x8893, "GL_ELEMENT_ARRAY_BUFFER", }, |
409 { 0x8892, "GL_ARRAY_BUFFER", }, | 409 { 0x8892, "GL_ARRAY_BUFFER", }, |
410 { 0x8BD8, "GL_TEXTURE_IMAGE_VALID_QCOM", }, | 410 { 0x8BD8, "GL_TEXTURE_IMAGE_VALID_QCOM", }, |
411 { 0x84D3, "GL_TEXTURE19", }, | 411 { 0x84D3, "GL_TEXTURE19", }, |
412 { 0x84E8, "GL_MAX_RENDERBUFFER_SIZE", }, | 412 { 0x84E8, "GL_MAX_RENDERBUFFER_SIZE", }, |
413 { 0x8370, "GL_MIRRORED_REPEAT", }, | 413 { 0x8370, "GL_MIRRORED_REPEAT", }, |
414 { 0x84E0, "GL_ACTIVE_TEXTURE", }, | 414 { 0x84E0, "GL_ACTIVE_TEXTURE", }, |
(...skipping 629 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1044 std::string GLES2Util::GetStringVertexPointer(uint32 value) { | 1044 std::string GLES2Util::GetStringVertexPointer(uint32 value) { |
1045 static EnumToString string_table[] = { | 1045 static EnumToString string_table[] = { |
1046 { GL_VERTEX_ATTRIB_ARRAY_POINTER, "GL_VERTEX_ATTRIB_ARRAY_POINTER" }, | 1046 { GL_VERTEX_ATTRIB_ARRAY_POINTER, "GL_VERTEX_ATTRIB_ARRAY_POINTER" }, |
1047 }; | 1047 }; |
1048 return GLES2Util::GetQualifiedEnumString( | 1048 return GLES2Util::GetQualifiedEnumString( |
1049 string_table, arraysize(string_table), value); | 1049 string_table, arraysize(string_table), value); |
1050 } | 1050 } |
1051 | 1051 |
1052 #endif // GPU_COMMAND_BUFFER_COMMON_GLES2_CMD_UTILS_IMPLEMENTATION_AUTOGEN_H_ | 1052 #endif // GPU_COMMAND_BUFFER_COMMON_GLES2_CMD_UTILS_IMPLEMENTATION_AUTOGEN_H_ |
1053 | 1053 |
OLD | NEW |