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

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

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.cc
diff --git a/content/renderer/media/android/stream_texture_factory.cc b/content/renderer/media/android/stream_texture_factory.cc
index df409514f4f9cdebcea8cf4a24c29b7c84a68fad..5219966bd6ad1acd357060d6851166e71dcb3333 100644
--- a/content/renderer/media/android/stream_texture_factory.cc
+++ b/content/renderer/media/android/stream_texture_factory.cc
@@ -95,6 +95,12 @@ void StreamTextureFactory::EstablishPeer(int32_t stream_id,
new GpuStreamTextureMsg_EstablishPeer(stream_id, frame_id, player_id));
}
+void StreamTextureFactory::RegisterStreamTexture(int32_t stream_id,
+ int surface_texture_id) {
+ channel_->Send(new GpuStreamTextureMsg_RegisterStreamTexture(
+ stream_id, surface_texture_id));
+}
+
unsigned StreamTextureFactory::CreateStreamTexture(
unsigned texture_target,
unsigned* texture_id,
« no previous file with comments | « content/renderer/media/android/stream_texture_factory.h ('k') | gpu/ipc/client/android/in_process_surface_texture_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698