| 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..18ef60939f71a153c54cd2ed86b02ca6991d8507 100644
|
| --- a/content/renderer/media/android/stream_texture_factory.h
|
| +++ b/content/renderer/media/android/stream_texture_factory.h
|
| @@ -11,6 +11,7 @@
|
|
|
| #include "base/macros.h"
|
| #include "base/memory/ref_counted.h"
|
| +#include "base/nonce.h"
|
| #include "base/single_thread_task_runner.h"
|
| #include "cc/layers/video_frame_provider.h"
|
| #include "content/common/content_export.h"
|
| @@ -86,6 +87,12 @@ class CONTENT_EXPORT StreamTextureFactory
|
| // the player_id.
|
| void EstablishPeer(int32_t stream_id, int player_id, int frame_id);
|
|
|
| + // Sends an IPC to the GPU process.
|
| + // Asks the StreamTexture to forward its SurfaceTexture to the
|
| + // ScopedSurfaceRequestManager, using the gpu::ScopedSurfaceRequestConduit.
|
| + void ForwardStreamTextureForSurfaceRequest(int32_t stream_id,
|
| + base::Nonce request_token);
|
| +
|
| // 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.
|
|
|