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

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

Issue 12494005: Use client side arrays for GL_STREAM_DRAW attributes (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 10 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/build_gles2_cmd_buffer.py ('k') | gpu/command_buffer/service/buffer_manager.h » ('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 8ef9a14ac9e7790b8ff6ebcdfd55e70de1b05672..9e4c660d5c4a6eca529258b4a84ef5bbfdd71297 100644
--- a/gpu/command_buffer/common/gles2_cmd_utils_implementation_autogen.h
+++ b/gpu/command_buffer/common/gles2_cmd_utils_implementation_autogen.h
@@ -22,6 +22,7 @@ static GLES2Util::EnumToString enum_to_string_table[] = {
{ 0, "GL_FALSE", },
{ 0x00400000, "GL_STENCIL_BUFFER_BIT6_QCOM", },
{ 0x82E6, "GL_SAMPLER", },
+ { 0x1E02, "GL_INCR", },
{ 0x9130, "GL_SGX_PROGRAM_BINARY_IMG", },
{ 0x9133, "GL_RENDERBUFFER_SAMPLES_IMG", },
{ 0x82E0, "GL_BUFFER", },
@@ -60,7 +61,7 @@ static GLES2Util::EnumToString enum_to_string_table[] = {
{ 0x8B54, "GL_INT_VEC3", },
{ 0x8DF4, "GL_MEDIUM_INT", },
{ 0x8DF5, "GL_HIGH_INT", },
- { 0x8B51, "GL_FLOAT_VEC3", },
+ { 0x8DF6, "GL_UNSIGNED_INT_10_10_10_2_OES", },
{ 0x8B50, "GL_FLOAT_VEC2", },
{ 0x806F, "GL_TEXTURE_3D_OES", },
{ 0x92E0, "GL_DEBUG_OUTPUT", },
@@ -88,6 +89,7 @@ static GLES2Util::EnumToString enum_to_string_table[] = {
{ 0x0C10, "GL_SCISSOR_BOX", },
{ 0x0C11, "GL_SCISSOR_TEST", },
{ 0x80000000, "GL_MULTISAMPLE_BUFFER_BIT7_QCOM", },
+ { 0x300E, "GL_CONTEXT_LOST", },
{ 0x02000000, "GL_MULTISAMPLE_BUFFER_BIT1_QCOM", },
{ 0x8C2F, "GL_ANY_SAMPLES_PASSED_EXT", },
{ 0x8BD2, "GL_TEXTURE_WIDTH_QCOM", },
@@ -283,7 +285,7 @@ static GLES2Util::EnumToString enum_to_string_table[] = {
{ 0x8FB1, "GL_CPU_OPTIMIZED_QCOM", },
{ 0x8B93, "GL_PALETTE4_RGBA4_OES", },
{ 0x8B92, "GL_PALETTE4_R5_G6_B5_OES", },
- { 0x1E02, "GL_INCR", },
+ { 0x8B91, "GL_PALETTE4_RGBA8_OES", },
{ 0x8B90, "GL_PALETTE4_RGB8_OES", },
{ 0x8B97, "GL_PALETTE8_R5_G6_B5_OES", },
{ 0x8B96, "GL_PALETTE8_RGBA8_OES", },
@@ -339,7 +341,7 @@ static GLES2Util::EnumToString enum_to_string_table[] = {
{ 0x82E1, "GL_SHADER", },
{ 0x8B52, "GL_FLOAT_VEC4", },
{ 0x9240, "GL_UNPACK_FLIP_Y_CHROMIUM", },
- { 0x8DF6, "GL_UNSIGNED_INT_10_10_10_2_OES", },
+ { 0x8B51, "GL_FLOAT_VEC3", },
{ 0x8230, "GL_RG32F_EXT", },
{ 0x8DF7, "GL_INT_10_10_10_2_OES", },
{ 0x812F, "GL_CLAMP_TO_EDGE", },
@@ -372,7 +374,6 @@ static GLES2Util::EnumToString enum_to_string_table[] = {
{ 0x881C, "GL_ALPHA16F_EXT", },
{ 0x8CD4, "GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_3D_ZOFFSET_OES", },
{ 0x8CD7, "GL_FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT", },
- { 0x08000000, "GL_MULTISAMPLE_BUFFER_BIT3_QCOM", },
{ 0x9112, "GL_OBJECT_TYPE_APPLE", },
{ 0x8038, "GL_POLYGON_OFFSET_FACTOR", },
{ 0x851A, "GL_TEXTURE_CUBE_MAP_NEGATIVE_Z", },
@@ -461,7 +462,7 @@ static GLES2Util::EnumToString enum_to_string_table[] = {
{ 0x84D4, "GL_TEXTURE20", },
{ 0x84D5, "GL_TEXTURE21", },
{ 0x84D2, "GL_TEXTURE18", },
- { 0x8B91, "GL_PALETTE4_RGBA8_OES", },
+ { 0x84D3, "GL_TEXTURE19", },
{ 0x84D0, "GL_TEXTURE16", },
{ 0x84D1, "GL_TEXTURE17", },
{ 0x1E03, "GL_DECR", },
@@ -487,7 +488,7 @@ static GLES2Util::EnumToString enum_to_string_table[] = {
{ 0x8865, "GL_CURRENT_QUERY_EXT", },
{ 0x8866, "GL_QUERY_RESULT_EXT", },
{ 0x8867, "GL_QUERY_RESULT_AVAILABLE_EXT", },
- { 0x300E, "GL_CONTEXT_LOST", },
+ { 0x08000000, "GL_MULTISAMPLE_BUFFER_BIT3_QCOM", },
{ 0x87FA, "GL_3DC_XY_AMD", },
{ 0x84C4, "GL_TEXTURE4", },
{ 0x85B5, "GL_VERTEX_ARRAY_BINDING_OES", },
@@ -597,7 +598,6 @@ static GLES2Util::EnumToString enum_to_string_table[] = {
{ 0x8893, "GL_ELEMENT_ARRAY_BUFFER", },
{ 0x8892, "GL_ARRAY_BUFFER", },
{ 0x8BD8, "GL_TEXTURE_IMAGE_VALID_QCOM", },
- { 0x84D3, "GL_TEXTURE19", },
{ 0x93BA, "GL_COMPRESSED_RGBA_ASTC_10x8_KHR", },
{ 0x93BB, "GL_COMPRESSED_RGBA_ASTC_10x10_KHR", },
{ 0x93BC, "GL_COMPRESSED_RGBA_ASTC_12x10_KHR", },
« no previous file with comments | « gpu/command_buffer/build_gles2_cmd_buffer.py ('k') | gpu/command_buffer/service/buffer_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698