| Index: content/common/gpu/client/gpu_video_decode_accelerator_host.h
|
| diff --git a/content/common/gpu/client/gpu_video_decode_accelerator_host.h b/content/common/gpu/client/gpu_video_decode_accelerator_host.h
|
| index ed67571cefef474b0c980b85517d7a723dc8d646..704584dbfcad9bf8d0a3639e4e45e2c17fb83b31 100644
|
| --- a/content/common/gpu/client/gpu_video_decode_accelerator_host.h
|
| +++ b/content/common/gpu/client/gpu_video_decode_accelerator_host.h
|
| @@ -12,6 +12,7 @@
|
| #include "content/common/gpu/client/command_buffer_proxy_impl.h"
|
| #include "ipc/ipc_listener.h"
|
| #include "media/video/video_decode_accelerator.h"
|
| +#include "ui/gfx/size.h"
|
|
|
| namespace content {
|
| class GpuChannelHost;
|
| @@ -55,7 +56,7 @@ class GpuVideoDecodeAcceleratorHost
|
|
|
| void OnBitstreamBufferProcessed(int32 bitstream_buffer_id);
|
| void OnProvidePictureBuffer(uint32 num_requested_buffers,
|
| - const gfx::Size& buffer_size,
|
| + const gfx::Size& dimensions,
|
| uint32 texture_target);
|
| void OnDismissPictureBuffer(int32 picture_buffer_id);
|
| void OnPictureReady(int32 picture_buffer_id, int32 bitstream_buffer_id);
|
| @@ -75,6 +76,9 @@ class GpuVideoDecodeAcceleratorHost
|
| // Unowned reference to the CommandBufferProxyImpl that created us.
|
| CommandBufferProxyImpl* impl_;
|
|
|
| + // Requested dimensions of the buffer, from ProvidePictureBuffers().
|
| + gfx::Size picture_buffer_dimensions_;
|
| +
|
| DISALLOW_COPY_AND_ASSIGN(GpuVideoDecodeAcceleratorHost);
|
| };
|
|
|
|
|