Chromium Code Reviews| Index: content/common/gpu/client/gpu_channel_host.h |
| diff --git a/content/common/gpu/client/gpu_channel_host.h b/content/common/gpu/client/gpu_channel_host.h |
| index fbff47b5b9c2f6a58d74fbd8628703bd55742019..6d38b5d83c8358899ebb52895a5b87214d9ef2c8 100644 |
| --- a/content/common/gpu/client/gpu_channel_host.h |
| +++ b/content/common/gpu/client/gpu_channel_host.h |
| @@ -44,6 +44,7 @@ class SyncMessageFilter; |
| } |
| namespace media { |
| +class JpegDecodeAccelerator; |
| class VideoDecodeAccelerator; |
| class VideoEncodeAccelerator; |
| } |
| @@ -55,6 +56,7 @@ class GpuMemoryBufferManager; |
| namespace content { |
| class CommandBufferProxyImpl; |
| class GpuChannelHost; |
| +class GpuJpegDecodeAcceleratorHost; |
| struct GpuListenerInfo { |
| GpuListenerInfo(); |
| @@ -148,6 +150,9 @@ class GpuChannelHost : public IPC::Sender, |
| scoped_ptr<media::VideoEncodeAccelerator> CreateVideoEncoder( |
| int command_buffer_route_id); |
|
wuchengli
2015/05/06 07:59:18
// Creates a JPEG decoder in the GPU process.
Also
kcwu
2015/05/08 14:42:42
Acknowledged.
Revised to use jpeg thread and no re
|
| + scoped_ptr<media::JpegDecodeAccelerator> CreateJpegDecoder( |
| + scoped_refptr<base::MessageLoopProxy> reply_loop); |
| + |
| // Destroy a command buffer created by this channel. |
| void DestroyCommandBuffer(CommandBufferProxyImpl* command_buffer); |