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_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 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
79 { 0x8B5C, "GL_FLOAT_MAT4", }, | 79 { 0x8B5C, "GL_FLOAT_MAT4", }, |
80 { 0x8B5B, "GL_FLOAT_MAT3", }, | 80 { 0x8B5B, "GL_FLOAT_MAT3", }, |
81 { 0x8B5A, "GL_FLOAT_MAT2", }, | 81 { 0x8B5A, "GL_FLOAT_MAT2", }, |
82 { 0x0D05, "GL_PACK_ALIGNMENT", }, | 82 { 0x0D05, "GL_PACK_ALIGNMENT", }, |
83 { 0x87FF, "GL_PROGRAM_BINARY_FORMATS_OES", }, | 83 { 0x87FF, "GL_PROGRAM_BINARY_FORMATS_OES", }, |
84 { 0x87FE, "GL_NUM_PROGRAM_BINARY_FORMATS_OES", }, | 84 { 0x87FE, "GL_NUM_PROGRAM_BINARY_FORMATS_OES", }, |
85 { 0x2600, "GL_NEAREST", }, | 85 { 0x2600, "GL_NEAREST", }, |
86 { 0x2601, "GL_LINEAR", }, | 86 { 0x2601, "GL_LINEAR", }, |
87 { 0x8C03, "GL_COMPRESSED_RGBA_PVRTC_2BPPV1_IMG", }, | 87 { 0x8C03, "GL_COMPRESSED_RGBA_PVRTC_2BPPV1_IMG", }, |
88 { 0x9242, "GL_UNPACK_UNPREMULTIPLY_ALPHA_CHROMIUM", }, | 88 { 0x9242, "GL_UNPACK_UNPREMULTIPLY_ALPHA_CHROMIUM", }, |
| 89 { 0x88BA, "GL_READ_WRITE", }, |
89 { 0x88BB, "GL_BUFFER_ACCESS_OES", }, | 90 { 0x88BB, "GL_BUFFER_ACCESS_OES", }, |
90 { 0x88BC, "GL_BUFFER_MAPPED_OES", }, | 91 { 0x88BC, "GL_BUFFER_MAPPED_OES", }, |
91 { 0x88BD, "GL_BUFFER_MAP_POINTER_OES", }, | 92 { 0x88BD, "GL_BUFFER_MAP_POINTER_OES", }, |
92 { 0x0C10, "GL_SCISSOR_BOX", }, | 93 { 0x0C10, "GL_SCISSOR_BOX", }, |
93 { 0x0C11, "GL_SCISSOR_TEST", }, | 94 { 0x0C11, "GL_SCISSOR_TEST", }, |
94 { 0x80000000, "GL_MULTISAMPLE_BUFFER_BIT7_QCOM", }, | 95 { 0x80000000, "GL_MULTISAMPLE_BUFFER_BIT7_QCOM", }, |
95 { 0x300E, "GL_CONTEXT_LOST", }, | 96 { 0x300E, "GL_CONTEXT_LOST", }, |
96 { 0x02000000, "GL_MULTISAMPLE_BUFFER_BIT1_QCOM", }, | 97 { 0x02000000, "GL_MULTISAMPLE_BUFFER_BIT1_QCOM", }, |
97 { 0x8C2F, "GL_ANY_SAMPLES_PASSED_EXT", }, | 98 { 0x8C2F, "GL_ANY_SAMPLES_PASSED_EXT", }, |
98 { 0x8BD2, "GL_TEXTURE_WIDTH_QCOM", }, | 99 { 0x8BD2, "GL_TEXTURE_WIDTH_QCOM", }, |
(...skipping 1297 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1396 std::string GLES2Util::GetStringVertexPointer(uint32 value) { | 1397 std::string GLES2Util::GetStringVertexPointer(uint32 value) { |
1397 static EnumToString string_table[] = { | 1398 static EnumToString string_table[] = { |
1398 { GL_VERTEX_ATTRIB_ARRAY_POINTER, "GL_VERTEX_ATTRIB_ARRAY_POINTER" }, | 1399 { GL_VERTEX_ATTRIB_ARRAY_POINTER, "GL_VERTEX_ATTRIB_ARRAY_POINTER" }, |
1399 }; | 1400 }; |
1400 return GLES2Util::GetQualifiedEnumString( | 1401 return GLES2Util::GetQualifiedEnumString( |
1401 string_table, arraysize(string_table), value); | 1402 string_table, arraysize(string_table), value); |
1402 } | 1403 } |
1403 | 1404 |
1404 #endif // GPU_COMMAND_BUFFER_COMMON_GLES2_CMD_UTILS_IMPLEMENTATION_AUTOGEN_H_ | 1405 #endif // GPU_COMMAND_BUFFER_COMMON_GLES2_CMD_UTILS_IMPLEMENTATION_AUTOGEN_H_ |
1405 | 1406 |
OLD | NEW |