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

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

Issue 12717013: Add reference-counting for mailbox textures. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: add optional 'pool' reference while textures are in mailbox Created 7 years, 9 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
Index: gpu/command_buffer/service/context_group.cc
diff --git a/gpu/command_buffer/service/context_group.cc b/gpu/command_buffer/service/context_group.cc
index d1821d7be7234b771b6754c7259a06725125cdb0..3da82f81a7711ac9bed2d1cf53ebcb7b07b921b5 100644
--- a/gpu/command_buffer/service/context_group.cc
+++ b/gpu/command_buffer/service/context_group.cc
@@ -260,8 +260,6 @@ void ContextGroup::Destroy(GLES2Decoder* decoder, bool have_context) {
}
if (texture_manager_ != NULL) {
- mailbox_manager_->DestroyOwnedTextures(texture_manager_.get(),
- have_context);
texture_manager_->Destroy(have_context);
texture_manager_.reset();
}
« no previous file with comments | « content/common/gpu/texture_image_transport_surface.cc ('k') | gpu/command_buffer/service/gles2_cmd_decoder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698