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

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

Issue 2282633002: Integrate Surface requests with MediaPlayerRenderer (Closed)
Patch Set: Addressed last comments Created 4 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/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..c8c015a3b521d6729891aa22dd78fd86f9728221 100644
--- a/content/renderer/media/android/stream_texture_factory.cc
+++ b/content/renderer/media/android/stream_texture_factory.cc
@@ -95,6 +95,13 @@ void StreamTextureFactory::EstablishPeer(int32_t stream_id,
new GpuStreamTextureMsg_EstablishPeer(stream_id, frame_id, player_id));
}
+void StreamTextureFactory::ForwardStreamTextureForSurfaceRequest(
+ int32_t stream_id,
+ const base::UnguessableToken& request_token) {
+ channel_->Send(new GpuStreamTextureMsg_ForwardForSurfaceRequest(
+ stream_id, request_token));
+}
+
unsigned StreamTextureFactory::CreateStreamTexture(
unsigned texture_target,
unsigned* texture_id,
« no previous file with comments | « content/renderer/media/android/stream_texture_factory.h ('k') | content/renderer/media/android/stream_texture_wrapper_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698