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 // Multiply-included message file, hence no include guard here, but see below | 5 // Multiply-included message file, hence no include guard here, but see below |
6 // for a much smaller-than-usual include guard section. | 6 // for a much smaller-than-usual include guard section. |
7 | 7 |
8 #include <vector> | 8 #include <vector> |
9 #include <string> | 9 #include <string> |
10 | 10 |
(...skipping 174 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
185 | 185 |
186 // Tells the GPU process that the browser process has finished resizing the | 186 // Tells the GPU process that the browser process has finished resizing the |
187 // view. | 187 // view. |
188 IPC_MESSAGE_ROUTED0(AcceleratedSurfaceMsg_ResizeViewACK) | 188 IPC_MESSAGE_ROUTED0(AcceleratedSurfaceMsg_ResizeViewACK) |
189 | 189 |
190 // Tells the GPU process that it's safe to start rendering to the surface. | 190 // Tells the GPU process that it's safe to start rendering to the surface. |
191 IPC_MESSAGE_ROUTED2(AcceleratedSurfaceMsg_NewACK, | 191 IPC_MESSAGE_ROUTED2(AcceleratedSurfaceMsg_NewACK, |
192 uint64 /* surface_handle */, | 192 uint64 /* surface_handle */, |
193 TransportDIB::Handle /* shared memory buffer */) | 193 TransportDIB::Handle /* shared memory buffer */) |
194 | 194 |
| 195 // Tells the GPU process that it's safe to release the surface. |
| 196 IPC_MESSAGE_ROUTED2(AcceleratedSurfaceMsg_ReleaseACK, |
| 197 uint64 /* surface_id */, bool /* success */) |
| 198 |
195 // Tells the GPU process that the browser process handled the swap | 199 // Tells the GPU process that the browser process handled the swap |
196 // buffers request. | 200 // buffers request. |
197 IPC_MESSAGE_ROUTED0(AcceleratedSurfaceMsg_BuffersSwappedACK) | 201 IPC_MESSAGE_ROUTED0(AcceleratedSurfaceMsg_BuffersSwappedACK) |
198 | 202 |
199 // Tells the GPU process that the browser process handled the | 203 // Tells the GPU process that the browser process handled the |
200 // PostSubBuffer command. | 204 // PostSubBuffer command. |
201 IPC_MESSAGE_ROUTED0(AcceleratedSurfaceMsg_PostSubBufferACK) | 205 IPC_MESSAGE_ROUTED0(AcceleratedSurfaceMsg_PostSubBufferACK) |
202 | 206 |
203 // Tells the GPU process to remove all contexts. | 207 // Tells the GPU process to remove all contexts. |
204 IPC_MESSAGE_CONTROL0(GpuMsg_Clean) | 208 IPC_MESSAGE_CONTROL0(GpuMsg_Clean) |
(...skipping 306 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
511 | 515 |
512 // Confirm decoder has been flushed. | 516 // Confirm decoder has been flushed. |
513 IPC_MESSAGE_ROUTED0(AcceleratedVideoDecoderHostMsg_FlushDone) | 517 IPC_MESSAGE_ROUTED0(AcceleratedVideoDecoderHostMsg_FlushDone) |
514 | 518 |
515 // Confirm decoder has been reset. | 519 // Confirm decoder has been reset. |
516 IPC_MESSAGE_ROUTED0(AcceleratedVideoDecoderHostMsg_ResetDone) | 520 IPC_MESSAGE_ROUTED0(AcceleratedVideoDecoderHostMsg_ResetDone) |
517 | 521 |
518 // Video decoder has encountered an error. | 522 // Video decoder has encountered an error. |
519 IPC_MESSAGE_ROUTED1(AcceleratedVideoDecoderHostMsg_ErrorNotification, | 523 IPC_MESSAGE_ROUTED1(AcceleratedVideoDecoderHostMsg_ErrorNotification, |
520 uint32) /* Error ID */ | 524 uint32) /* Error ID */ |
OLD | NEW |