Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(151)

Unified Diff: gpu/command_buffer/common/gles2_cmd_utils_implementation_autogen.h

Issue 169603002: Add initial support for NV_path_rendering extension to gpu command buffer (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: address review comment Created 6 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « gpu/command_buffer/common/gles2_cmd_utils_autogen.h ('k') | gpu/command_buffer/service/context_state.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 b3ec4218260ac27357a0b409829dc98f028f3e81..5ead1a86fff7ff9bb869f75302615f589e2aebb0 100644
--- a/gpu/command_buffer/common/gles2_cmd_utils_implementation_autogen.h
+++ b/gpu/command_buffer/common/gles2_cmd_utils_implementation_autogen.h
@@ -748,6 +748,9 @@ static const GLES2Util::EnumToString enum_to_string_table[] = {
0x882D, "GL_DRAW_BUFFER8_EXT",
},
{
+ 0x0BA6, "GL_PATH_MODELVIEW_MATRIX_CHROMIUM",
+ },
+ {
0x8F37, "GL_COPY_WRITE_BUFFER_NV",
},
{
@@ -985,6 +988,9 @@ static const GLES2Util::EnumToString enum_to_string_table[] = {
0x92A6, "GL_VIVIDLIGHT_NV",
},
{
+ 0x78F1, "GL_IMAGE_MAP_CHROMIUM",
+ },
+ {
0x00080000, "GL_STENCIL_BUFFER_BIT3_QCOM",
},
{
@@ -1273,7 +1279,7 @@ static const GLES2Util::EnumToString enum_to_string_table[] = {
0x84CA, "GL_TEXTURE10",
},
{
- 0x78F1, "GL_IMAGE_MAP_CHROMIUM",
+ 0x0BA7, "GL_PATH_PROJECTION_MATRIX_CHROMIUM",
},
{
0x84CF, "GL_TEXTURE15",
@@ -1738,6 +1744,9 @@ static const GLES2Util::EnumToString enum_to_string_table[] = {
0x8D68, "GL_REQUIRED_TEXTURE_IMAGE_UNITS_OES",
},
{
+ 0x1700, "GL_PATH_MODELVIEW_CHROMIUM",
+ },
+ {
0x85BB, "GL_UNSIGNED_SHORT_8_8_REV_APPLE",
},
{
@@ -1765,6 +1774,9 @@ static const GLES2Util::EnumToString enum_to_string_table[] = {
0x8CEE, "GL_COLOR_ATTACHMENT14_EXT",
},
{
+ 0x1701, "GL_PATH_PROJECTION_CHROMIUM",
+ },
+ {
0x2800, "GL_TEXTURE_MAG_FILTER",
},
{
@@ -2681,6 +2693,15 @@ std::string GLES2Util::GetStringIndexType(uint32_t value) {
string_table, arraysize(string_table), value);
}
+std::string GLES2Util::GetStringMatrixMode(uint32_t value) {
+ static const EnumToString string_table[] = {
+ {GL_PATH_PROJECTION_CHROMIUM, "GL_PATH_PROJECTION_CHROMIUM"},
+ {GL_PATH_MODELVIEW_CHROMIUM, "GL_PATH_MODELVIEW_CHROMIUM"},
+ };
+ return GLES2Util::GetQualifiedEnumString(
+ string_table, arraysize(string_table), value);
+}
+
std::string GLES2Util::GetStringPixelStore(uint32_t value) {
static const EnumToString string_table[] = {
{GL_PACK_ALIGNMENT, "GL_PACK_ALIGNMENT"},
« no previous file with comments | « gpu/command_buffer/common/gles2_cmd_utils_autogen.h ('k') | gpu/command_buffer/service/context_state.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698