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

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

Issue 11194042: Implement TextureImageTransportSurface using texture mailbox (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 1 month 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: content/browser/renderer_host/image_transport_factory_android.h
diff --git a/content/browser/renderer_host/image_transport_factory_android.h b/content/browser/renderer_host/image_transport_factory_android.h
index 34d9a584f381c0a3a97414e5fd8a8c4a4d3c7cd8..19782b6b75490bc39fa10ccf8ab666655e6df0a6 100644
--- a/content/browser/renderer_host/image_transport_factory_android.h
+++ b/content/browser/renderer_host/image_transport_factory_android.h
@@ -27,6 +27,10 @@ class ImageTransportFactoryAndroid {
void DestroySharedSurfaceHandle(const gfx::GLSurfaceHandle& handle);
uint32_t InsertSyncPoint();
+ uint32_t CreateTexture();
+ void DeleteTexture(uint32_t id);
+ void AcquireTexture(uint32 texture_id, const signed char* mailbox_name);
+ void ReleaseTexture(uint32 texture_id, const signed char* mailbox_name);
WebKit::WebGraphicsContext3D* GetContext3D();
GLHelper* GetGLHelper();

Powered by Google App Engine
This is Rietveld 408576698