Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(266)

Side by Side Diff: content/common/child_process_messages.h

Issue 288343004: working copy of "zero_copy" Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: Created 6 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // Common IPC messages used for child processes. 5 // Common IPC messages used for child processes.
6 // Multiply-included message file, hence no include guard. 6 // Multiply-included message file, hence no include guard.
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
68 #endif 68 #endif
69 69
70 IPC_STRUCT_TRAITS_BEGIN(gfx::GpuMemoryBufferId) 70 IPC_STRUCT_TRAITS_BEGIN(gfx::GpuMemoryBufferId)
71 IPC_STRUCT_TRAITS_MEMBER(primary_id) 71 IPC_STRUCT_TRAITS_MEMBER(primary_id)
72 IPC_STRUCT_TRAITS_MEMBER(secondary_id) 72 IPC_STRUCT_TRAITS_MEMBER(secondary_id)
73 IPC_STRUCT_TRAITS_END() 73 IPC_STRUCT_TRAITS_END()
74 74
75 IPC_STRUCT_TRAITS_BEGIN(gfx::GpuMemoryBufferHandle) 75 IPC_STRUCT_TRAITS_BEGIN(gfx::GpuMemoryBufferHandle)
76 IPC_STRUCT_TRAITS_MEMBER(type) 76 IPC_STRUCT_TRAITS_MEMBER(type)
77 IPC_STRUCT_TRAITS_MEMBER(handle) 77 IPC_STRUCT_TRAITS_MEMBER(handle)
78 IPC_STRUCT_TRAITS_MEMBER(card_handle)
79 IPC_STRUCT_TRAITS_MEMBER(stride)
78 IPC_STRUCT_TRAITS_MEMBER(global_id) 80 IPC_STRUCT_TRAITS_MEMBER(global_id)
79 #if defined(OS_MACOSX) 81 #if defined(OS_MACOSX)
80 IPC_STRUCT_TRAITS_MEMBER(io_surface_id) 82 IPC_STRUCT_TRAITS_MEMBER(io_surface_id)
81 #endif 83 #endif
82 #if defined(OS_ANDROID) 84 #if defined(OS_ANDROID)
83 IPC_STRUCT_TRAITS_MEMBER(surface_texture_id) 85 IPC_STRUCT_TRAITS_MEMBER(surface_texture_id)
84 #endif 86 #endif
85 IPC_STRUCT_TRAITS_END() 87 IPC_STRUCT_TRAITS_END()
86 88
87 #undef IPC_MESSAGE_EXPORT 89 #undef IPC_MESSAGE_EXPORT
(...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after
190 std::string /* output */) 192 std::string /* output */)
191 #endif 193 #endif
192 194
193 // Asks the browser to create a gpu memory buffer. 195 // Asks the browser to create a gpu memory buffer.
194 IPC_SYNC_MESSAGE_CONTROL4_1(ChildProcessHostMsg_SyncAllocateGpuMemoryBuffer, 196 IPC_SYNC_MESSAGE_CONTROL4_1(ChildProcessHostMsg_SyncAllocateGpuMemoryBuffer,
195 uint32 /* width */, 197 uint32 /* width */,
196 uint32 /* height */, 198 uint32 /* height */,
197 uint32 /* internalformat */, 199 uint32 /* internalformat */,
198 uint32 /* usage */, 200 uint32 /* usage */,
199 gfx::GpuMemoryBufferHandle) 201 gfx::GpuMemoryBufferHandle)
OLDNEW
« no previous file with comments | « content/browser/renderer_host/render_process_host_impl.cc ('k') | content/common/gpu/client/gpu_channel_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698