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

Unified Diff: gpu/command_buffer/service/texture_manager.h

Issue 12717013: Add reference-counting for mailbox textures. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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/texture_manager.h
diff --git a/gpu/command_buffer/service/texture_manager.h b/gpu/command_buffer/service/texture_manager.h
index f1d1fea82e632accb8477902b5541c0f8c73cd9e..a65e31091e74b2b197c4d13faf9d58d4e72789b7 100644
--- a/gpu/command_buffer/service/texture_manager.h
+++ b/gpu/command_buffer/service/texture_manager.h
@@ -353,6 +353,9 @@ class GPU_EXPORT Texture : public base::RefCounted<Texture> {
// Size in bytes this texture is assumed to take in memory.
uint32 estimated_size_;
+ // A reference to a texture definition ater putting it into a mailbox.
apatrick_chromium 2013/03/19 18:50:18 ater -> after
no sievers 2013/04/02 03:07:20 Done.
+ scoped_refptr<TextureDefinition> mailbox_;
+
DISALLOW_COPY_AND_ASSIGN(Texture);
};

Powered by Google App Engine
This is Rietveld 408576698