| OLD | NEW |
| 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 3047 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3058 }, | 3058 }, |
| 3059 { | 3059 { |
| 3060 0x8DE1, | 3060 0x8DE1, |
| 3061 "GL_MAX_GEOMETRY_TOTAL_OUTPUT_COMPONENTS_EXT", | 3061 "GL_MAX_GEOMETRY_TOTAL_OUTPUT_COMPONENTS_EXT", |
| 3062 }, | 3062 }, |
| 3063 { | 3063 { |
| 3064 0x8DE0, | 3064 0x8DE0, |
| 3065 "GL_MAX_GEOMETRY_OUTPUT_VERTICES_EXT", | 3065 "GL_MAX_GEOMETRY_OUTPUT_VERTICES_EXT", |
| 3066 }, | 3066 }, |
| 3067 { | 3067 { |
| 3068 0x924C, |
| 3069 "GL_MOUSE_POSITION_CHROMIUM", |
| 3070 }, |
| 3071 { |
| 3072 0x924B, |
| 3073 "GL_SUBSCRIBED_VALUES_BUFFER_CHROMIUM", |
| 3074 }, |
| 3075 { |
| 3068 0x924A, | 3076 0x924A, |
| 3069 "GL_OVERLAY_TRANSFORM_ROTATE_270_CHROMIUM", | 3077 "GL_OVERLAY_TRANSFORM_ROTATE_270_CHROMIUM", |
| 3070 }, | 3078 }, |
| 3071 { | 3079 { |
| 3072 0x20000000, | 3080 0x20000000, |
| 3073 "GL_MULTISAMPLE_BUFFER_BIT5_QCOM", | 3081 "GL_MULTISAMPLE_BUFFER_BIT5_QCOM", |
| 3074 }, | 3082 }, |
| 3075 { | 3083 { |
| 3076 64, | 3084 64, |
| 3077 "GL_MAILBOX_SIZE_CHROMIUM", | 3085 "GL_MAILBOX_SIZE_CHROMIUM", |
| (...skipping 1270 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4348 {GL_VENDOR, "GL_VENDOR"}, | 4356 {GL_VENDOR, "GL_VENDOR"}, |
| 4349 {GL_RENDERER, "GL_RENDERER"}, | 4357 {GL_RENDERER, "GL_RENDERER"}, |
| 4350 {GL_VERSION, "GL_VERSION"}, | 4358 {GL_VERSION, "GL_VERSION"}, |
| 4351 {GL_SHADING_LANGUAGE_VERSION, "GL_SHADING_LANGUAGE_VERSION"}, | 4359 {GL_SHADING_LANGUAGE_VERSION, "GL_SHADING_LANGUAGE_VERSION"}, |
| 4352 {GL_EXTENSIONS, "GL_EXTENSIONS"}, | 4360 {GL_EXTENSIONS, "GL_EXTENSIONS"}, |
| 4353 }; | 4361 }; |
| 4354 return GLES2Util::GetQualifiedEnumString( | 4362 return GLES2Util::GetQualifiedEnumString( |
| 4355 string_table, arraysize(string_table), value); | 4363 string_table, arraysize(string_table), value); |
| 4356 } | 4364 } |
| 4357 | 4365 |
| 4366 std::string GLES2Util::GetStringSubscriptionTarget(uint32_t value) { |
| 4367 static const EnumToString string_table[] = { |
| 4368 {GL_MOUSE_POSITION_CHROMIUM, "GL_MOUSE_POSITION_CHROMIUM"}, |
| 4369 }; |
| 4370 return GLES2Util::GetQualifiedEnumString(string_table, |
| 4371 arraysize(string_table), value); |
| 4372 } |
| 4373 |
| 4358 std::string GLES2Util::GetStringTextureBindTarget(uint32_t value) { | 4374 std::string GLES2Util::GetStringTextureBindTarget(uint32_t value) { |
| 4359 static const EnumToString string_table[] = { | 4375 static const EnumToString string_table[] = { |
| 4360 {GL_TEXTURE_2D, "GL_TEXTURE_2D"}, | 4376 {GL_TEXTURE_2D, "GL_TEXTURE_2D"}, |
| 4361 {GL_TEXTURE_CUBE_MAP, "GL_TEXTURE_CUBE_MAP"}, | 4377 {GL_TEXTURE_CUBE_MAP, "GL_TEXTURE_CUBE_MAP"}, |
| 4362 }; | 4378 }; |
| 4363 return GLES2Util::GetQualifiedEnumString( | 4379 return GLES2Util::GetQualifiedEnumString( |
| 4364 string_table, arraysize(string_table), value); | 4380 string_table, arraysize(string_table), value); |
| 4365 } | 4381 } |
| 4366 | 4382 |
| 4367 std::string GLES2Util::GetStringTextureFormat(uint32_t value) { | 4383 std::string GLES2Util::GetStringTextureFormat(uint32_t value) { |
| (...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4472 std::string GLES2Util::GetStringTextureWrapMode(uint32_t value) { | 4488 std::string GLES2Util::GetStringTextureWrapMode(uint32_t value) { |
| 4473 static const EnumToString string_table[] = { | 4489 static const EnumToString string_table[] = { |
| 4474 {GL_CLAMP_TO_EDGE, "GL_CLAMP_TO_EDGE"}, | 4490 {GL_CLAMP_TO_EDGE, "GL_CLAMP_TO_EDGE"}, |
| 4475 {GL_MIRRORED_REPEAT, "GL_MIRRORED_REPEAT"}, | 4491 {GL_MIRRORED_REPEAT, "GL_MIRRORED_REPEAT"}, |
| 4476 {GL_REPEAT, "GL_REPEAT"}, | 4492 {GL_REPEAT, "GL_REPEAT"}, |
| 4477 }; | 4493 }; |
| 4478 return GLES2Util::GetQualifiedEnumString( | 4494 return GLES2Util::GetQualifiedEnumString( |
| 4479 string_table, arraysize(string_table), value); | 4495 string_table, arraysize(string_table), value); |
| 4480 } | 4496 } |
| 4481 | 4497 |
| 4498 std::string GLES2Util::GetStringValueBufferTarget(uint32_t value) { |
| 4499 static const EnumToString string_table[] = { |
| 4500 {GL_SUBSCRIBED_VALUES_BUFFER_CHROMIUM, |
| 4501 "GL_SUBSCRIBED_VALUES_BUFFER_CHROMIUM"}, |
| 4502 }; |
| 4503 return GLES2Util::GetQualifiedEnumString(string_table, |
| 4504 arraysize(string_table), value); |
| 4505 } |
| 4506 |
| 4482 std::string GLES2Util::GetStringVertexAttribType(uint32_t value) { | 4507 std::string GLES2Util::GetStringVertexAttribType(uint32_t value) { |
| 4483 static const EnumToString string_table[] = { | 4508 static const EnumToString string_table[] = { |
| 4484 {GL_BYTE, "GL_BYTE"}, | 4509 {GL_BYTE, "GL_BYTE"}, |
| 4485 {GL_UNSIGNED_BYTE, "GL_UNSIGNED_BYTE"}, | 4510 {GL_UNSIGNED_BYTE, "GL_UNSIGNED_BYTE"}, |
| 4486 {GL_SHORT, "GL_SHORT"}, | 4511 {GL_SHORT, "GL_SHORT"}, |
| 4487 {GL_UNSIGNED_SHORT, "GL_UNSIGNED_SHORT"}, | 4512 {GL_UNSIGNED_SHORT, "GL_UNSIGNED_SHORT"}, |
| 4488 {GL_FLOAT, "GL_FLOAT"}, | 4513 {GL_FLOAT, "GL_FLOAT"}, |
| 4489 }; | 4514 }; |
| 4490 return GLES2Util::GetQualifiedEnumString( | 4515 return GLES2Util::GetQualifiedEnumString( |
| 4491 string_table, arraysize(string_table), value); | 4516 string_table, arraysize(string_table), value); |
| (...skipping 16 matching lines...) Expand all Loading... |
| 4508 | 4533 |
| 4509 std::string GLES2Util::GetStringVertexPointer(uint32_t value) { | 4534 std::string GLES2Util::GetStringVertexPointer(uint32_t value) { |
| 4510 static const EnumToString string_table[] = { | 4535 static const EnumToString string_table[] = { |
| 4511 {GL_VERTEX_ATTRIB_ARRAY_POINTER, "GL_VERTEX_ATTRIB_ARRAY_POINTER"}, | 4536 {GL_VERTEX_ATTRIB_ARRAY_POINTER, "GL_VERTEX_ATTRIB_ARRAY_POINTER"}, |
| 4512 }; | 4537 }; |
| 4513 return GLES2Util::GetQualifiedEnumString( | 4538 return GLES2Util::GetQualifiedEnumString( |
| 4514 string_table, arraysize(string_table), value); | 4539 string_table, arraysize(string_table), value); |
| 4515 } | 4540 } |
| 4516 | 4541 |
| 4517 #endif // GPU_COMMAND_BUFFER_COMMON_GLES2_CMD_UTILS_IMPLEMENTATION_AUTOGEN_H_ | 4542 #endif // GPU_COMMAND_BUFFER_COMMON_GLES2_CMD_UTILS_IMPLEMENTATION_AUTOGEN_H_ |
| OLD | NEW |