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

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

Issue 654223006: Cleanup GpuMemoryBuffer (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: style nits Created 6 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 180 matching lines...) Expand 10 before | Expand all | Expand 10 after
191 191
192 // Asks the browser to create a gpu memory buffer. 192 // Asks the browser to create a gpu memory buffer.
193 IPC_SYNC_MESSAGE_CONTROL4_1(ChildProcessHostMsg_SyncAllocateGpuMemoryBuffer, 193 IPC_SYNC_MESSAGE_CONTROL4_1(ChildProcessHostMsg_SyncAllocateGpuMemoryBuffer,
194 uint32 /* width */, 194 uint32 /* width */,
195 uint32 /* height */, 195 uint32 /* height */,
196 gfx::GpuMemoryBuffer::Format, 196 gfx::GpuMemoryBuffer::Format,
197 gfx::GpuMemoryBuffer::Usage, 197 gfx::GpuMemoryBuffer::Usage,
198 gfx::GpuMemoryBufferHandle) 198 gfx::GpuMemoryBufferHandle)
199 199
200 // Informs the browser that the child deleted a gpu memory buffer. 200 // Informs the browser that the child deleted a gpu memory buffer.
201 IPC_MESSAGE_CONTROL2(ChildProcessHostMsg_DeletedGpuMemoryBuffer, 201 IPC_MESSAGE_CONTROL3(ChildProcessHostMsg_DeletedGpuMemoryBuffer,
202 gfx::GpuMemoryBufferType, 202 gfx::GpuMemoryBufferType,
203 gfx::GpuMemoryBufferId) 203 gfx::GpuMemoryBufferId,
204 uint32 /* sync_point */)
204 205
205 // Asks the browser to create a block of discardable shared memory for the 206 // Asks the browser to create a block of discardable shared memory for the
206 // child process. 207 // child process.
207 IPC_SYNC_MESSAGE_CONTROL1_1( 208 IPC_SYNC_MESSAGE_CONTROL1_1(
208 ChildProcessHostMsg_SyncAllocateLockedDiscardableSharedMemory, 209 ChildProcessHostMsg_SyncAllocateLockedDiscardableSharedMemory,
209 uint32 /* size */, 210 uint32 /* size */,
210 base::SharedMemoryHandle) 211 base::SharedMemoryHandle)
OLDNEW
« no previous file with comments | « content/common/child_process_host_impl.cc ('k') | content/common/gpu/client/command_buffer_proxy_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698