Chromium Code Reviews| Index: content/common/gpu/gpu_channel.h |
| diff --git a/content/common/gpu/gpu_channel.h b/content/common/gpu/gpu_channel.h |
| index a47ccf941c28c18e010d88eb659ccac1ad5134e4..1af6e7469492aa305bafe569228a60d102724dab 100644 |
| --- a/content/common/gpu/gpu_channel.h |
| +++ b/content/common/gpu/gpu_channel.h |
| @@ -50,6 +50,7 @@ class MessageFilter; |
| } |
| namespace content { |
| +class GpuArcAccelerator; |
| class GpuChannelManager; |
| class GpuChannelMessageFilter; |
| class GpuChannelMessageQueue; |
| @@ -228,6 +229,8 @@ class CONTENT_EXPORT GpuChannel |
| bool* succeeded); |
| void OnDestroyCommandBuffer(int32 route_id); |
| void OnCreateJpegDecoder(int32 route_id, IPC::Message* reply_msg); |
| + void OnCreateArcAccelerator(uint32_t device_type); |
| + void OnShutdownArcAccelerators(); |
|
Owen Lin
2015/11/26 03:54:41
Can we route the message to GpuArcVideoService? On
kcwu
2015/11/26 10:34:42
No. This is for terminating GpuArcVideoService. Fo
|
| // The lifetime of objects of this class is managed by a GpuChannelManager. |
| // The GpuChannelManager destroy all the GpuChannels that they own when they |
| @@ -278,6 +281,8 @@ class CONTENT_EXPORT GpuChannel |
| scoped_ptr<GpuJpegDecodeAccelerator> jpeg_decoder_; |
| + scoped_ptr<GpuArcAccelerator> arc_accelerator_; |
|
Owen Lin
2015/11/26 03:54:41
Please consider move this to GpuProcess.
|
| + |
| gpu::gles2::DisallowedFeatures disallowed_features_; |
| GpuWatchdog* watchdog_; |