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

Unified Diff: gpu/command_buffer/client/gles2_implementation.cc

Issue 7024028: Remove canvas throttling in GLES2Implementation::CopyTextureToParentTexture. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 7 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gpu/command_buffer/client/gles2_implementation.cc
diff --git a/gpu/command_buffer/client/gles2_implementation.cc b/gpu/command_buffer/client/gles2_implementation.cc
index 7bd07b4212886bb4eba8fb5060aea91926dff144..e14d7cdf2c239ca350632489939b4a5c8a759257 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(
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698