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

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, 2 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: 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 42855c7346d5007ec2962a3474162a7654bb0008..6991b483a53fb0c0dc532b05bbdddda69b48609d 100644
--- a/content/browser/renderer_host/image_transport_factory_android.h
+++ b/content/browser/renderer_host/image_transport_factory_android.h
@@ -23,6 +23,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);
WebGraphicsContext3DCommandBufferImpl* GetContext3D();
private:

Powered by Google App Engine
This is Rietveld 408576698