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

Unified Diff: content/renderer/media/android/stream_texture_factory.h

Issue 2268173002: Add StreamTexture resgistration for the Browser (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 4 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/renderer/media/android/stream_texture_factory.h
diff --git a/content/renderer/media/android/stream_texture_factory.h b/content/renderer/media/android/stream_texture_factory.h
index c52358fc7c148470081b24eb8a8af1ec9c6a278e..49ec0f0cca65386ef95cedb1ce4ca1af8d3ed8bc 100644
--- a/content/renderer/media/android/stream_texture_factory.h
+++ b/content/renderer/media/android/stream_texture_factory.h
@@ -86,6 +86,10 @@ class CONTENT_EXPORT StreamTextureFactory
// the player_id.
void EstablishPeer(int32_t stream_id, int player_id, int frame_id);
+ // Registers the StreamTexture's SurfaceTexure for retrieval and use in the
+ // Browser process, using the provided |surface_texture_id|
+ void RegisterStreamTexture(int32_t stream_id, int surface_texture_id);
+
// Creates a gpu::StreamTexture and returns its id. Sets |*texture_id| to the
// client-side id of the gpu::StreamTexture. The texture is produced into
// a mailbox so it can be shipped in a VideoFrame.

Powered by Google App Engine
This is Rietveld 408576698