summaryrefslogtreecommitdiffstats
path: root/content/common/child_process_messages.h
diff options
context:
space:
mode:
authoralexst@chromium.org <alexst@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-06-12 18:07:47 +0000
committeralexst@chromium.org <alexst@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-06-12 18:07:47 +0000
commit056182d6730fe500641646749130887c22684082 (patch)
treec6aec1133824a57332910043035a20f7834f104d /content/common/child_process_messages.h
parentcb875c08769742543bcc5da0f682be2aed64491b (diff)
downloadchromium_src-056182d6730fe500641646749130887c22684082.zip
chromium_src-056182d6730fe500641646749130887c22684082.tar.gz
chromium_src-056182d6730fe500641646749130887c22684082.tar.bz2
Plumb GpuMemoryBuffer allocation to GPU process.
BUG=368716 Review URL: https://codereview.chromium.org/302603004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@276738 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/common/child_process_messages.h')
-rw-r--r--content/common/child_process_messages.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/content/common/child_process_messages.h b/content/common/child_process_messages.h
index da76e02..9b44b93 100644
--- a/content/common/child_process_messages.h
+++ b/content/common/child_process_messages.h
@@ -67,9 +67,15 @@ IPC_STRUCT_TRAITS_BEGIN(gfx::SurfaceTextureId)
IPC_STRUCT_TRAITS_END()
#endif
+IPC_STRUCT_TRAITS_BEGIN(gfx::GpuMemoryBufferId)
+ IPC_STRUCT_TRAITS_MEMBER(primary_id)
+ IPC_STRUCT_TRAITS_MEMBER(secondary_id)
+IPC_STRUCT_TRAITS_END()
+
IPC_STRUCT_TRAITS_BEGIN(gfx::GpuMemoryBufferHandle)
IPC_STRUCT_TRAITS_MEMBER(type)
IPC_STRUCT_TRAITS_MEMBER(handle)
+ IPC_STRUCT_TRAITS_MEMBER(global_id)
#if defined(OS_MACOSX)
IPC_STRUCT_TRAITS_MEMBER(io_surface_id)
#endif