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

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

Issue 703463005: Re-land: content: Cleanup GpuMemoryBuffers when child process is removed. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@gpu-memory-buffer-id-refactor
Patch Set: add manager null check to ~RenderMessageFilter 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
« no previous file with comments | « content/common/child_process_host_impl.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 172 matching lines...) Expand 10 before | Expand all | Expand 10 after
183 183
184 // Asks the browser to create a gpu memory buffer. 184 // Asks the browser to create a gpu memory buffer.
185 IPC_SYNC_MESSAGE_CONTROL4_1(ChildProcessHostMsg_SyncAllocateGpuMemoryBuffer, 185 IPC_SYNC_MESSAGE_CONTROL4_1(ChildProcessHostMsg_SyncAllocateGpuMemoryBuffer,
186 uint32 /* width */, 186 uint32 /* width */,
187 uint32 /* height */, 187 uint32 /* height */,
188 gfx::GpuMemoryBuffer::Format, 188 gfx::GpuMemoryBuffer::Format,
189 gfx::GpuMemoryBuffer::Usage, 189 gfx::GpuMemoryBuffer::Usage,
190 gfx::GpuMemoryBufferHandle) 190 gfx::GpuMemoryBufferHandle)
191 191
192 // Informs the browser that the child deleted a gpu memory buffer. 192 // Informs the browser that the child deleted a gpu memory buffer.
193 IPC_MESSAGE_CONTROL3(ChildProcessHostMsg_DeletedGpuMemoryBuffer, 193 IPC_MESSAGE_CONTROL2(ChildProcessHostMsg_DeletedGpuMemoryBuffer,
194 gfx::GpuMemoryBufferType,
195 gfx::GpuMemoryBufferId, 194 gfx::GpuMemoryBufferId,
196 uint32 /* sync_point */) 195 uint32 /* sync_point */)
197 196
198 // Asks the browser to create a block of discardable shared memory for the 197 // Asks the browser to create a block of discardable shared memory for the
199 // child process. 198 // child process.
200 IPC_SYNC_MESSAGE_CONTROL1_1( 199 IPC_SYNC_MESSAGE_CONTROL1_1(
201 ChildProcessHostMsg_SyncAllocateLockedDiscardableSharedMemory, 200 ChildProcessHostMsg_SyncAllocateLockedDiscardableSharedMemory,
202 uint32 /* size */, 201 uint32 /* size */,
203 base::SharedMemoryHandle) 202 base::SharedMemoryHandle)
OLDNEW
« no previous file with comments | « content/common/child_process_host_impl.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698