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

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

Issue 1417363006: ui: Add support for creating GLImage instances from shared memory pools. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@usage-rename
Patch Set: static_cast<off_t> to make windows build happy Created 5 years, 1 month 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
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 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
61 IPC_STRUCT_TRAITS_MEMBER(process_id) 61 IPC_STRUCT_TRAITS_MEMBER(process_id)
62 IPC_STRUCT_TRAITS_END() 62 IPC_STRUCT_TRAITS_END()
63 63
64 IPC_ENUM_TRAITS_MAX_VALUE(gfx::GpuMemoryBufferType, 64 IPC_ENUM_TRAITS_MAX_VALUE(gfx::GpuMemoryBufferType,
65 gfx::GPU_MEMORY_BUFFER_TYPE_LAST) 65 gfx::GPU_MEMORY_BUFFER_TYPE_LAST)
66 66
67 IPC_STRUCT_TRAITS_BEGIN(gfx::GpuMemoryBufferHandle) 67 IPC_STRUCT_TRAITS_BEGIN(gfx::GpuMemoryBufferHandle)
68 IPC_STRUCT_TRAITS_MEMBER(id) 68 IPC_STRUCT_TRAITS_MEMBER(id)
69 IPC_STRUCT_TRAITS_MEMBER(type) 69 IPC_STRUCT_TRAITS_MEMBER(type)
70 IPC_STRUCT_TRAITS_MEMBER(handle) 70 IPC_STRUCT_TRAITS_MEMBER(handle)
71 IPC_STRUCT_TRAITS_MEMBER(offset)
71 #if defined(USE_OZONE) 72 #if defined(USE_OZONE)
72 IPC_STRUCT_TRAITS_MEMBER(native_pixmap_handle) 73 IPC_STRUCT_TRAITS_MEMBER(native_pixmap_handle)
73 #endif 74 #endif
74 IPC_STRUCT_TRAITS_END() 75 IPC_STRUCT_TRAITS_END()
75 76
76 IPC_STRUCT_TRAITS_BEGIN(gfx::GpuMemoryBufferId) 77 IPC_STRUCT_TRAITS_BEGIN(gfx::GpuMemoryBufferId)
77 IPC_STRUCT_TRAITS_MEMBER(id) 78 IPC_STRUCT_TRAITS_MEMBER(id)
78 IPC_STRUCT_TRAITS_END() 79 IPC_STRUCT_TRAITS_END()
79 80
80 #undef IPC_MESSAGE_EXPORT 81 #undef IPC_MESSAGE_EXPORT
(...skipping 135 matching lines...) Expand 10 before | Expand all | Expand 10 after
216 IPC_SYNC_MESSAGE_CONTROL2_1( 217 IPC_SYNC_MESSAGE_CONTROL2_1(
217 ChildProcessHostMsg_SyncAllocateLockedDiscardableSharedMemory, 218 ChildProcessHostMsg_SyncAllocateLockedDiscardableSharedMemory,
218 uint32 /* size */, 219 uint32 /* size */,
219 content::DiscardableSharedMemoryId, 220 content::DiscardableSharedMemoryId,
220 base::SharedMemoryHandle) 221 base::SharedMemoryHandle)
221 222
222 // Informs the browser that the child deleted a block of discardable shared 223 // Informs the browser that the child deleted a block of discardable shared
223 // memory. 224 // memory.
224 IPC_MESSAGE_CONTROL1(ChildProcessHostMsg_DeletedDiscardableSharedMemory, 225 IPC_MESSAGE_CONTROL1(ChildProcessHostMsg_DeletedDiscardableSharedMemory,
225 content::DiscardableSharedMemoryId) 226 content::DiscardableSharedMemoryId)
OLDNEW
« no previous file with comments | « content/browser/renderer_host/media/video_capture_buffer_pool.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