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

Unified Diff: content/browser/renderer_host/image_transport_factory.h

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
« no previous file with comments | « no previous file | content/browser/renderer_host/image_transport_factory.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/renderer_host/image_transport_factory.h
diff --git a/content/browser/renderer_host/image_transport_factory.h b/content/browser/renderer_host/image_transport_factory.h
index 898d6346c17a8397d53ba0423b9ed45a1c524919..41f59edefbb862f384d801e6e3296761a7f9058d 100644
--- a/content/browser/renderer_host/image_transport_factory.h
+++ b/content/browser/renderer_host/image_transport_factory.h
@@ -68,7 +68,8 @@ class ImageTransportFactory {
virtual gfx::GLSurfaceHandle CreateSharedSurfaceHandle() = 0;
// Destroys a shared surface handle.
- virtual void DestroySharedSurfaceHandle(gfx::GLSurfaceHandle surface) = 0;
+ virtual void DestroySharedSurfaceHandle(gfx::GLSurfaceHandle surface,
+ int surface_id) = 0;
// Creates a transport texture for a given scale factor.
virtual scoped_refptr<ui::Texture> CreateTransportClient(
« no previous file with comments | « no previous file | content/browser/renderer_host/image_transport_factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698