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

Unified Diff: gpu/command_buffer/service/mailbox_synchronizer.cc

Issue 429983002: Android Webview: Skip managed resources in mailbox sync (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: add comment, todo, bug Created 6 years, 5 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/service/mailbox_synchronizer.cc
diff --git a/gpu/command_buffer/service/mailbox_synchronizer.cc b/gpu/command_buffer/service/mailbox_synchronizer.cc
index d25368ab09642ce0485747a7f314f02174ba24fe..eac31f95e48f94db8ad6fa9646bb9ce73b82aaec 100644
--- a/gpu/command_buffer/service/mailbox_synchronizer.cc
+++ b/gpu/command_buffer/service/mailbox_synchronizer.cc
@@ -166,6 +166,11 @@ void MailboxSynchronizer::PushTextureUpdates(MailboxManager* manager) {
UpdateTextureLocked(texture, texture_version);
} else {
+ // Skip compositor resources/tile textures.
+ // TODO: Remove this, see crbug.com/399226.
+ if (texture->pool() == GL_TEXTURE_POOL_MANAGED_CHROMIUM)
+ continue;
+
linked_ptr<TextureGroup> group = make_linked_ptr(new TextureGroup(
TextureDefinition(target_name.target, texture, 1, NULL)));
« 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