summaryrefslogtreecommitdiffstats
path: root/gpu
diff options
context:
space:
mode:
authorjbates@chromium.org <jbates@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-06-03 21:45:04 +0000
committerjbates@chromium.org <jbates@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-06-03 21:45:04 +0000
commit6cfe3891c0d2afe4bd7e7717c22c470575cb142b (patch)
tree6b3180b37f3f1821b92885398b9cb394d9c678e3 /gpu
parent83099dc6e821a408bc8d4cf860311c5896456e43 (diff)
downloadchromium_src-6cfe3891c0d2afe4bd7e7717c22c470575cb142b.zip
chromium_src-6cfe3891c0d2afe4bd7e7717c22c470575cb142b.tar.gz
chromium_src-6cfe3891c0d2afe4bd7e7717c22c470575cb142b.tar.bz2
Remove canvas throttling in GLES2Implementation::CopyTextureToParentTexture.
BUG=83628 TEST=run FishIE demo, verify that FlushSync is not called multiple times every frame during DoDeferredUpdate Review URL: http://codereview.chromium.org/7024028 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@87876 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'gpu')
-rw-r--r--gpu/command_buffer/client/gles2_implementation.cc7
1 files changed, 0 insertions, 7 deletions
diff --git a/gpu/command_buffer/client/gles2_implementation.cc b/gpu/command_buffer/client/gles2_implementation.cc
index 7bd07b4..e14d7cd 100644
--- a/gpu/command_buffer/client/gles2_implementation.cc
+++ b/gpu/command_buffer/client/gles2_implementation.cc
@@ -704,15 +704,8 @@ void GLES2Implementation::SwapBuffers() {
void GLES2Implementation::CopyTextureToParentTextureCHROMIUM(
GLuint client_child_id, GLuint client_parent_id) {
- // Wait if this would add too many CopyTextureToParentTexture's
- if (swap_buffers_tokens_.size() == kMaxSwapBuffers) {
- helper_->WaitForToken(swap_buffers_tokens_.front());
- swap_buffers_tokens_.pop();
- }
helper_->CopyTextureToParentTextureCHROMIUM(client_child_id,
client_parent_id);
- swap_buffers_tokens_.push(helper_->InsertToken());
- Flush();
}
void GLES2Implementation::GenSharedIdsCHROMIUM(