Chromium Code Reviews| Index: content/common/gpu/media/android_copying_backing_strategy.h |
| diff --git a/content/common/gpu/media/android_copying_backing_strategy.h b/content/common/gpu/media/android_copying_backing_strategy.h |
| index 17b096aecd563665d9c62e1e0cb691ba5c6c7c8b..085695c00bc1250a773ef2ae8ab451a26d20421c 100644 |
| --- a/content/common/gpu/media/android_copying_backing_strategy.h |
| +++ b/content/common/gpu/media/android_copying_backing_strategy.h |
| @@ -28,21 +28,22 @@ class AVDAStateProvider; |
| class CONTENT_EXPORT AndroidCopyingBackingStrategy |
| : public AndroidVideoDecodeAccelerator::BackingStrategy { |
| public: |
| - AndroidCopyingBackingStrategy(); |
| + AndroidCopyingBackingStrategy(AVDAStateProvider* state_provider); |
| ~AndroidCopyingBackingStrategy() override; |
| // AndroidVideoDecodeAccelerator::BackingStrategy |
| - void Initialize(AVDAStateProvider*) override; |
| + gfx::ScopedJavaSurface Initialize(int surface_view_id) override; |
| void Cleanup(bool have_context, |
| const AndroidVideoDecodeAccelerator::OutputBufferMap&) override; |
| + scoped_refptr<gfx::SurfaceTexture> GetSurfaceTexture() const override; |
| uint32_t GetTextureTarget() const override; |
| - scoped_refptr<gfx::SurfaceTexture> CreateSurfaceTexture() override; |
| void UseCodecBufferForPictureBuffer(int32_t codec_buffer_index, |
| const media::PictureBuffer&) override; |
| void CodecChanged( |
| media::VideoCodecBridge*, |
| const AndroidVideoDecodeAccelerator::OutputBufferMap&) override; |
| void OnFrameAvailable() override; |
| + bool PicturesAreOverlayable() override; |
|
sandersd (OOO until July 31)
2016/02/01 19:58:26
Nit: ArePicturesOverlayable()
|
| private: |
| // Used for copy the texture from surface texture to picture buffers. |