| Index: gpu/command_buffer/common/gles2_cmd_utils_implementation_autogen.h
|
| diff --git a/gpu/command_buffer/common/gles2_cmd_utils_implementation_autogen.h b/gpu/command_buffer/common/gles2_cmd_utils_implementation_autogen.h
|
| index 62f1c308c1764a458339b5837667d42418116df6..0f91a5ae1dabc3d6476b86932dafbc78aab6563c 100644
|
| --- a/gpu/command_buffer/common/gles2_cmd_utils_implementation_autogen.h
|
| +++ b/gpu/command_buffer/common/gles2_cmd_utils_implementation_autogen.h
|
| @@ -429,6 +429,7 @@ static const GLES2Util::EnumToString enum_to_string_table[] = {
|
| {0x84CC, "GL_TEXTURE12", },
|
| {0x0BA2, "GL_VIEWPORT", },
|
| {0x84CA, "GL_TEXTURE10", },
|
| + {0x0BA0, "GL_MATRIX_MODE", },
|
| {0x84CF, "GL_TEXTURE15", },
|
| {0x84CE, "GL_TEXTURE14", },
|
| {0x84CD, "GL_TEXTURE13", },
|
| @@ -583,6 +584,7 @@ static const GLES2Util::EnumToString enum_to_string_table[] = {
|
| {0x93E7, "GL_COMPRESSED_SRGB8_ALPHA8_ASTC_6x5x5_OES", },
|
| {0x93E6, "GL_COMPRESSED_SRGB8_ALPHA8_ASTC_5x5x5_OES", },
|
| {0x8D68, "GL_REQUIRED_TEXTURE_IMAGE_UNITS_OES", },
|
| + {0x1700, "GL_MODELVIEW", },
|
| {0x85BB, "GL_UNSIGNED_SHORT_8_8_REV_APPLE", },
|
| {0x8D61, "GL_HALF_FLOAT_OES", },
|
| {0x8D62, "GL_RGB565", },
|
| @@ -592,6 +594,7 @@ static const GLES2Util::EnumToString enum_to_string_table[] = {
|
| {0x8D67, "GL_TEXTURE_BINDING_EXTERNAL_OES", },
|
| {0x04000000, "GL_MULTISAMPLE_BUFFER_BIT2_QCOM", },
|
| {0x8CEE, "GL_COLOR_ATTACHMENT14_EXT", },
|
| + {0x1701, "GL_PROJECTION", },
|
| {0x2800, "GL_TEXTURE_MAG_FILTER", },
|
| {0x2801, "GL_TEXTURE_MIN_FILTER", },
|
| {0x2802, "GL_TEXTURE_WRAP_S", },
|
| @@ -1100,6 +1103,13 @@ std::string GLES2Util::GetStringIndexType(uint32 value) {
|
| string_table, arraysize(string_table), value);
|
| }
|
|
|
| +std::string GLES2Util::GetStringMatrixMode(uint32 value) {
|
| + static const EnumToString string_table[] = {{GL_PROJECTION, "GL_PROJECTION"},
|
| + {GL_MODELVIEW, "GL_MODELVIEW"}, };
|
| + return GLES2Util::GetQualifiedEnumString(
|
| + string_table, arraysize(string_table), value);
|
| +}
|
| +
|
| std::string GLES2Util::GetStringPixelStore(uint32 value) {
|
| static const EnumToString string_table[] = {
|
| {GL_PACK_ALIGNMENT, "GL_PACK_ALIGNMENT"},
|
|
|