diff options
author | zmo@chromium.org <zmo@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-03-06 17:48:26 +0000 |
---|---|---|
committer | zmo@chromium.org <zmo@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-03-06 17:48:26 +0000 |
commit | a8fb8f44bc56943c45bd06034fc004e22ef5da85 (patch) | |
tree | 0cf04d8183f36b63d56b3704176ea2d53b42f023 /gpu/command_buffer/common/gles2_cmd_utils_implementation_autogen.h | |
parent | b375601e95723c66b63b567c80dfc69544c91c43 (diff) | |
download | chromium_src-a8fb8f44bc56943c45bd06034fc004e22ef5da85.zip chromium_src-a8fb8f44bc56943c45bd06034fc004e22ef5da85.tar.gz chromium_src-a8fb8f44bc56943c45bd06034fc004e22ef5da85.tar.bz2 |
Revert 186416
> Use client side arrays for GL_STREAM_DRAW attributes
>
> Certain GPU/drivers are slow when using constantly changing
> vertex buffers. They also run out of memory as the pipeline
> the buffers so while a buffer is in used being drawn to they
> can't delete it immediately when you upload new data to the
> buffer.
>
> This is an attempt to work around that issue seemlessly by
> using client side arrays for buffers marked as GL_STREAM_DRAW
>
> BUG=178093
>
>
> Review URL: https://chromiumcodereview.appspot.com/12494005
TBR=gman@chromium.org
Review URL: https://codereview.chromium.org/12544006
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@186459 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'gpu/command_buffer/common/gles2_cmd_utils_implementation_autogen.h')
-rw-r--r-- | gpu/command_buffer/common/gles2_cmd_utils_implementation_autogen.h | 14 |
1 files changed, 7 insertions, 7 deletions
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 9e4c660..8ef9a14 100644 --- a/gpu/command_buffer/common/gles2_cmd_utils_implementation_autogen.h +++ b/gpu/command_buffer/common/gles2_cmd_utils_implementation_autogen.h @@ -22,7 +22,6 @@ 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", }, @@ -61,7 +60,7 @@ static GLES2Util::EnumToString enum_to_string_table[] = { { 0x8B54, "GL_INT_VEC3", }, { 0x8DF4, "GL_MEDIUM_INT", }, { 0x8DF5, "GL_HIGH_INT", }, - { 0x8DF6, "GL_UNSIGNED_INT_10_10_10_2_OES", }, + { 0x8B51, "GL_FLOAT_VEC3", }, { 0x8B50, "GL_FLOAT_VEC2", }, { 0x806F, "GL_TEXTURE_3D_OES", }, { 0x92E0, "GL_DEBUG_OUTPUT", }, @@ -89,7 +88,6 @@ 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", }, @@ -285,7 +283,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", }, - { 0x8B91, "GL_PALETTE4_RGBA8_OES", }, + { 0x1E02, "GL_INCR", }, { 0x8B90, "GL_PALETTE4_RGB8_OES", }, { 0x8B97, "GL_PALETTE8_R5_G6_B5_OES", }, { 0x8B96, "GL_PALETTE8_RGBA8_OES", }, @@ -341,7 +339,7 @@ static GLES2Util::EnumToString enum_to_string_table[] = { { 0x82E1, "GL_SHADER", }, { 0x8B52, "GL_FLOAT_VEC4", }, { 0x9240, "GL_UNPACK_FLIP_Y_CHROMIUM", }, - { 0x8B51, "GL_FLOAT_VEC3", }, + { 0x8DF6, "GL_UNSIGNED_INT_10_10_10_2_OES", }, { 0x8230, "GL_RG32F_EXT", }, { 0x8DF7, "GL_INT_10_10_10_2_OES", }, { 0x812F, "GL_CLAMP_TO_EDGE", }, @@ -374,6 +372,7 @@ 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", }, @@ -462,7 +461,7 @@ static GLES2Util::EnumToString enum_to_string_table[] = { { 0x84D4, "GL_TEXTURE20", }, { 0x84D5, "GL_TEXTURE21", }, { 0x84D2, "GL_TEXTURE18", }, - { 0x84D3, "GL_TEXTURE19", }, + { 0x8B91, "GL_PALETTE4_RGBA8_OES", }, { 0x84D0, "GL_TEXTURE16", }, { 0x84D1, "GL_TEXTURE17", }, { 0x1E03, "GL_DECR", }, @@ -488,7 +487,7 @@ static GLES2Util::EnumToString enum_to_string_table[] = { { 0x8865, "GL_CURRENT_QUERY_EXT", }, { 0x8866, "GL_QUERY_RESULT_EXT", }, { 0x8867, "GL_QUERY_RESULT_AVAILABLE_EXT", }, - { 0x08000000, "GL_MULTISAMPLE_BUFFER_BIT3_QCOM", }, + { 0x300E, "GL_CONTEXT_LOST", }, { 0x87FA, "GL_3DC_XY_AMD", }, { 0x84C4, "GL_TEXTURE4", }, { 0x85B5, "GL_VERTEX_ARRAY_BINDING_OES", }, @@ -598,6 +597,7 @@ 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", }, |