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

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

Issue 1414793018: Revert of Converted video frame and image callbacks to use new sync tokens. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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
11 #include "base/memory/shared_memory.h" 11 #include "base/memory/shared_memory.h"
12 #include "base/tracked_objects.h" 12 #include "base/tracked_objects.h"
13 #include "base/values.h" 13 #include "base/values.h"
14 #include "cc/resources/shared_bitmap_manager.h" 14 #include "cc/resources/shared_bitmap_manager.h"
15 #include "content/common/content_export.h" 15 #include "content/common/content_export.h"
16 #include "content/common/host_discardable_shared_memory_manager.h" 16 #include "content/common/host_discardable_shared_memory_manager.h"
17 #include "gpu/command_buffer/common/sync_token.h"
18 #include "ipc/ipc_message_macros.h" 17 #include "ipc/ipc_message_macros.h"
19 #include "ui/gfx/gpu_memory_buffer.h" 18 #include "ui/gfx/gpu_memory_buffer.h"
20 #include "ui/gfx/ipc/gfx_param_traits.h" 19 #include "ui/gfx/ipc/gfx_param_traits.h"
21 20
22 #if defined(OS_MACOSX) 21 #if defined(OS_MACOSX)
23 #include "content/common/mac/io_surface_manager_token.h" 22 #include "content/common/mac/io_surface_manager_token.h"
24 #endif 23 #endif
25 24
26 IPC_ENUM_TRAITS_MAX_VALUE(tracked_objects::ThreadData::Status, 25 IPC_ENUM_TRAITS_MAX_VALUE(tracked_objects::ThreadData::Status,
27 tracked_objects::ThreadData::STATUS_LAST) 26 tracked_objects::ThreadData::STATUS_LAST)
(...skipping 176 matching lines...) Expand 10 before | Expand all | Expand 10 after
204 gfx::GpuMemoryBufferId /* new_id */, 203 gfx::GpuMemoryBufferId /* new_id */,
205 uint32 /* width */, 204 uint32 /* width */,
206 uint32 /* height */, 205 uint32 /* height */,
207 gfx::BufferFormat, 206 gfx::BufferFormat,
208 gfx::BufferUsage, 207 gfx::BufferUsage,
209 gfx::GpuMemoryBufferHandle) 208 gfx::GpuMemoryBufferHandle)
210 209
211 // Informs the browser that the child deleted a gpu memory buffer. 210 // Informs the browser that the child deleted a gpu memory buffer.
212 IPC_MESSAGE_CONTROL2(ChildProcessHostMsg_DeletedGpuMemoryBuffer, 211 IPC_MESSAGE_CONTROL2(ChildProcessHostMsg_DeletedGpuMemoryBuffer,
213 gfx::GpuMemoryBufferId, 212 gfx::GpuMemoryBufferId,
214 gpu::SyncToken /* sync_token */) 213 uint32 /* sync_point */)
215 214
216 // Asks the browser to create a block of discardable shared memory for the 215 // Asks the browser to create a block of discardable shared memory for the
217 // child process. 216 // child process.
218 IPC_SYNC_MESSAGE_CONTROL2_1( 217 IPC_SYNC_MESSAGE_CONTROL2_1(
219 ChildProcessHostMsg_SyncAllocateLockedDiscardableSharedMemory, 218 ChildProcessHostMsg_SyncAllocateLockedDiscardableSharedMemory,
220 uint32 /* size */, 219 uint32 /* size */,
221 content::DiscardableSharedMemoryId, 220 content::DiscardableSharedMemoryId,
222 base::SharedMemoryHandle) 221 base::SharedMemoryHandle)
223 222
224 // 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
225 // memory. 224 // memory.
226 IPC_MESSAGE_CONTROL1(ChildProcessHostMsg_DeletedDiscardableSharedMemory, 225 IPC_MESSAGE_CONTROL1(ChildProcessHostMsg_DeletedDiscardableSharedMemory,
227 content::DiscardableSharedMemoryId) 226 content::DiscardableSharedMemoryId)
OLDNEW
« no previous file with comments | « content/common/child_process_host_impl.cc ('k') | content/common/gpu/client/command_buffer_proxy_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698