OLD | NEW |
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 182 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
193 std::string /* output */) | 193 std::string /* output */) |
194 #endif | 194 #endif |
195 | 195 |
196 // Asks the browser to create a gpu memory buffer. | 196 // Asks the browser to create a gpu memory buffer. |
197 IPC_SYNC_MESSAGE_CONTROL4_1(ChildProcessHostMsg_SyncAllocateGpuMemoryBuffer, | 197 IPC_SYNC_MESSAGE_CONTROL4_1(ChildProcessHostMsg_SyncAllocateGpuMemoryBuffer, |
198 uint32 /* width */, | 198 uint32 /* width */, |
199 uint32 /* height */, | 199 uint32 /* height */, |
200 uint32 /* internalformat */, | 200 uint32 /* internalformat */, |
201 uint32 /* usage */, | 201 uint32 /* usage */, |
202 gfx::GpuMemoryBufferHandle) | 202 gfx::GpuMemoryBufferHandle) |
| 203 |
| 204 // Informs the browser that the child deleted a gpu memory buffer. |
| 205 IPC_MESSAGE_CONTROL2(ChildProcessHostMsg_DeletedGpuMemoryBuffer, |
| 206 gfx::GpuMemoryBufferType, |
| 207 gfx::GpuMemoryBufferId) |
OLD | NEW |