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

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

Issue 1071273002: NotForReview: Implement zero/one-copy texture for ozone freon using Intel DRM Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 8 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
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 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
64 64
65 IPC_ENUM_TRAITS_MAX_VALUE(gfx::GpuMemoryBufferType, 65 IPC_ENUM_TRAITS_MAX_VALUE(gfx::GpuMemoryBufferType,
66 gfx::GPU_MEMORY_BUFFER_TYPE_LAST) 66 gfx::GPU_MEMORY_BUFFER_TYPE_LAST)
67 67
68 IPC_STRUCT_TRAITS_BEGIN(gfx::GpuMemoryBufferHandle) 68 IPC_STRUCT_TRAITS_BEGIN(gfx::GpuMemoryBufferHandle)
69 IPC_STRUCT_TRAITS_MEMBER(id) 69 IPC_STRUCT_TRAITS_MEMBER(id)
70 IPC_STRUCT_TRAITS_MEMBER(type) 70 IPC_STRUCT_TRAITS_MEMBER(type)
71 IPC_STRUCT_TRAITS_MEMBER(handle) 71 IPC_STRUCT_TRAITS_MEMBER(handle)
72 #if defined(OS_MACOSX) 72 #if defined(OS_MACOSX)
73 IPC_STRUCT_TRAITS_MEMBER(io_surface_id) 73 IPC_STRUCT_TRAITS_MEMBER(io_surface_id)
74 #elif defined(USE_OZONE)
75 IPC_STRUCT_TRAITS_MEMBER(stride)
76 IPC_STRUCT_TRAITS_MEMBER(device_handle)
74 #endif 77 #endif
75 IPC_STRUCT_TRAITS_END() 78 IPC_STRUCT_TRAITS_END()
76 79
77 IPC_ENUM_TRAITS_MAX_VALUE(gfx::GpuMemoryBuffer::Format, 80 IPC_ENUM_TRAITS_MAX_VALUE(gfx::GpuMemoryBuffer::Format,
78 gfx::GpuMemoryBuffer::FORMAT_LAST) 81 gfx::GpuMemoryBuffer::FORMAT_LAST)
79 82
80 IPC_ENUM_TRAITS_MAX_VALUE(gfx::GpuMemoryBuffer::Usage, 83 IPC_ENUM_TRAITS_MAX_VALUE(gfx::GpuMemoryBuffer::Usage,
81 gfx::GpuMemoryBuffer::USAGE_LAST) 84 gfx::GpuMemoryBuffer::USAGE_LAST)
82 85
83 #undef IPC_MESSAGE_EXPORT 86 #undef IPC_MESSAGE_EXPORT
(...skipping 121 matching lines...) Expand 10 before | Expand all | Expand 10 after
205 IPC_SYNC_MESSAGE_CONTROL2_1( 208 IPC_SYNC_MESSAGE_CONTROL2_1(
206 ChildProcessHostMsg_SyncAllocateLockedDiscardableSharedMemory, 209 ChildProcessHostMsg_SyncAllocateLockedDiscardableSharedMemory,
207 uint32 /* size */, 210 uint32 /* size */,
208 content::DiscardableSharedMemoryId, 211 content::DiscardableSharedMemoryId,
209 base::SharedMemoryHandle) 212 base::SharedMemoryHandle)
210 213
211 // Informs the browser that the child deleted a block of discardable shared 214 // Informs the browser that the child deleted a block of discardable shared
212 // memory. 215 // memory.
213 IPC_MESSAGE_CONTROL1(ChildProcessHostMsg_DeletedDiscardableSharedMemory, 216 IPC_MESSAGE_CONTROL1(ChildProcessHostMsg_DeletedDiscardableSharedMemory,
214 content::DiscardableSharedMemoryId) 217 content::DiscardableSharedMemoryId)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698