diff options
author | senorblanco@chromium.org <senorblanco@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-02-15 18:57:10 +0000 |
---|---|---|
committer | senorblanco@chromium.org <senorblanco@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-02-15 18:57:10 +0000 |
commit | d9d97714ab365f119866468a3ee845c6cd8d4157 (patch) | |
tree | 849a544c83b4b1e88e4cdfe6b50833306136b89e /gpu | |
parent | 25ddbb488c425ae07e319981fd02eac43899a2a2 (diff) | |
download | chromium_src-d9d97714ab365f119866468a3ee845c6cd8d4157.zip chromium_src-d9d97714ab365f119866468a3ee845c6cd8d4157.tar.gz chromium_src-d9d97714ab365f119866468a3ee845c6cd8d4157.tar.bz2 |
In r74071, the number of outstanding SwapBuffer/CopyTextureToParentTexture calls was changed from 2 to 1. Although this reduced jank slightly, it also regressed performance on accelerated 2D canvas by up to 60%. This change restores it to 2. Although this reintroduces a slight amount of jank, we'll have to live with that until we come up with a better solution.
BUG=68735
TEST=see bug
Review URL: http://codereview.chromium.org/6526017
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@74984 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'gpu')
-rw-r--r-- | gpu/command_buffer/client/gles2_implementation.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gpu/command_buffer/client/gles2_implementation.h b/gpu/command_buffer/client/gles2_implementation.h index 57db856..1017ef1 100644 --- a/gpu/command_buffer/client/gles2_implementation.h +++ b/gpu/command_buffer/client/gles2_implementation.h @@ -70,7 +70,7 @@ class GLES2Implementation { static const GLuint kClientSideElementArrayId = 0xFEDCBA99u; // Number of swap buffers allowed before waiting. - static const size_t kMaxSwapBuffers = 1; + static const size_t kMaxSwapBuffers = 2; GLES2Implementation( GLES2CmdHelper* helper, |