| Index: media/filters/gpu_video_decoder.h
|
| diff --git a/media/filters/gpu_video_decoder.h b/media/filters/gpu_video_decoder.h
|
| index a0afd02f9be02b36240f44e1799315d82043e4b6..4173e4af5e97227a09f3212f4b2b21c07d3a659d 100644
|
| --- a/media/filters/gpu_video_decoder.h
|
| +++ b/media/filters/gpu_video_decoder.h
|
| @@ -49,6 +49,10 @@ class MEDIA_EXPORT GpuVideoDecoder
|
| uint32 texture_target) = 0;
|
| virtual void DeleteTexture(uint32 texture_id) = 0;
|
|
|
| + virtual gpu::Mailbox ProduceTextureToMailbox(uint32 texture_id) = 0;
|
| + virtual void ConsumeMailboxToTexture(const gpu::Mailbox& mailbox,
|
| + uint32 texture_id) = 0;
|
| +
|
| // Read pixels from a native texture and store into |pixels| as RGBA.
|
| virtual void ReadPixels(uint32 texture_id, uint32 texture_target,
|
| const gfx::Size& size, const SkBitmap& pixels) = 0;
|
| @@ -132,7 +136,7 @@ class MEDIA_EXPORT GpuVideoDecoder
|
| const scoped_refptr<VideoFrame>& frame);
|
|
|
| // Indicate the picturebuffer can be reused by the decoder.
|
| - void ReusePictureBuffer(int64 picture_buffer_id);
|
| + void ReusePictureBuffer(int64 picture_buffer_id, gpu::Mailbox mailbox);
|
|
|
| void RecordBufferData(
|
| const BitstreamBuffer& bitstream_buffer, const DecoderBuffer& buffer);
|
|
|