diff options
author | hclam@chromium.org <hclam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-10-07 21:47:58 +0000 |
---|---|---|
committer | hclam@chromium.org <hclam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-10-07 21:47:58 +0000 |
commit | 885ff1dfd127346d8fd1bfa239c7375773aabe48 (patch) | |
tree | 6004858fef22e08c5c1b4570231e01e1f0290a43 /chrome/common/gpu_video_common.h | |
parent | 3bb08606c22e357896714764731a7af21e04377d (diff) | |
download | chromium_src-885ff1dfd127346d8fd1bfa239c7375773aabe48.zip chromium_src-885ff1dfd127346d8fd1bfa239c7375773aabe48.tar.gz chromium_src-885ff1dfd127346d8fd1bfa239c7375773aabe48.tar.bz2 |
GpuVideoDecoderHost runs on IO thread instead of Render thread
Move GpuVideoDecoderHost to IO thread and change GpuVideoServiceHost to
be a MessageFilter.
BUG=53714
TEST=Tree is green. Will pending on WebKit changes to make this work.
Review URL: http://codereview.chromium.org/3462015
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@61854 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common/gpu_video_common.h')
-rw-r--r-- | chrome/common/gpu_video_common.h | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/chrome/common/gpu_video_common.h b/chrome/common/gpu_video_common.h index 55a44bc..17d5498 100644 --- a/chrome/common/gpu_video_common.h +++ b/chrome/common/gpu_video_common.h @@ -16,17 +16,6 @@ enum GpuVideoBufferFlag { kGpuVideoDiscontinuous = 1 << 1, }; -struct GpuVideoServiceInfoParam { - // route id for GpuVideoService on GPU process side for this channel. - int32 video_service_route_id; - - // route id for GpuVideoServiceHost on Render process side for this channel. - int32 video_service_host_route_id; - - // TODO(jiesun): define capabilities of video service. - int32 service_available; -}; - struct GpuVideoDecoderInitParam { int32 codec_id; int32 width; @@ -65,14 +54,6 @@ struct GpuVideoDecoderFormatChangeParam { namespace IPC { template <> -struct ParamTraits<GpuVideoServiceInfoParam> { - typedef GpuVideoServiceInfoParam param_type; - static void Write(Message* m, const param_type& p); - static bool Read(const Message* m, void** iter, param_type* r); - static void Log(const param_type& p, std::string* l); -}; - -template <> struct ParamTraits<GpuVideoDecoderInitParam> { typedef GpuVideoDecoderInitParam param_type; static void Write(Message* m, const param_type& p); |