Chromium Code Reviews| Index: content/renderer/media/android/stream_texture_wrapper_impl.h |
| diff --git a/content/renderer/media/android/stream_texture_wrapper_impl.h b/content/renderer/media/android/stream_texture_wrapper_impl.h |
| index a7e2bae48fbdd2558967f0323b5030dd64bdf85a..f85a5fbc407a5be12b56b757a716b4de8c968231 100644 |
| --- a/content/renderer/media/android/stream_texture_wrapper_impl.h |
| +++ b/content/renderer/media/android/stream_texture_wrapper_impl.h |
| @@ -43,6 +43,7 @@ class CONTENT_EXPORT StreamTextureWrapperImpl |
| : public media::StreamTextureWrapper { |
| public: |
| static media::ScopedStreamTextureWrapper Create( |
| + bool enable_texture_copy, |
|
liberato (no reviews please)
2016/11/07 22:35:31
please add a line to document this.
tguilbert
2016/11/07 23:25:01
Done.
|
| scoped_refptr<StreamTextureFactory> factory, |
| scoped_refptr<base::SingleThreadTaskRunner> main_task_runner); |
| @@ -80,6 +81,7 @@ class CONTENT_EXPORT StreamTextureWrapperImpl |
| private: |
| StreamTextureWrapperImpl( |
| + bool enable_texture_copy, |
| scoped_refptr<StreamTextureFactory> factory, |
| scoped_refptr<base::SingleThreadTaskRunner> main_task_runner); |
| ~StreamTextureWrapperImpl() override; |
| @@ -95,6 +97,8 @@ class CONTENT_EXPORT StreamTextureWrapperImpl |
| void SetCurrentFrameInternal( |
| const scoped_refptr<media::VideoFrame>& video_frame); |
| + bool enable_texture_copy_; |
| + |
| // Client GL texture ID allocated to the StreamTexture. |
| unsigned texture_id_; |