| 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 <string> | 8 #include <string> |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| (...skipping 385 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 396 int32 /* id */) | 396 int32 /* id */) |
| 397 | 397 |
| 398 // Get the shared memory handle for a transfer buffer mapped to the callers | 398 // Get the shared memory handle for a transfer buffer mapped to the callers |
| 399 // process. | 399 // process. |
| 400 IPC_SYNC_MESSAGE_ROUTED1_2(GpuCommandBufferMsg_GetTransferBuffer, | 400 IPC_SYNC_MESSAGE_ROUTED1_2(GpuCommandBufferMsg_GetTransferBuffer, |
| 401 int32 /* id */, | 401 int32 /* id */, |
| 402 base::SharedMemoryHandle /* transfer_buffer */, | 402 base::SharedMemoryHandle /* transfer_buffer */, |
| 403 uint32 /* size */) | 403 uint32 /* size */) |
| 404 | 404 |
| 405 // Create and initialize a hardware video decoder, returning its new route_id. | 405 // Create and initialize a hardware video decoder, returning its new route_id. |
| 406 IPC_SYNC_MESSAGE_ROUTED1_1(GpuCommandBufferMsg_CreateVideoDecoder, | 406 IPC_SYNC_MESSAGE_ROUTED3_1(GpuCommandBufferMsg_CreateVideoDecoder, |
| 407 media::VideoCodecProfile /* profile */, | 407 media::VideoCodecProfile /* profile */, |
| 408 gfx::Size /* size */, |
| 409 std::vector<uint8_t> /* extra_data */, |
| 408 int /* route_id */) | 410 int /* route_id */) |
| 409 | 411 |
| 410 // Release all resources held by the named hardware video decoder. | 412 // Release all resources held by the named hardware video decoder. |
| 411 IPC_SYNC_MESSAGE_ROUTED1_0(GpuCommandBufferMsg_DestroyVideoDecoder, | 413 IPC_SYNC_MESSAGE_ROUTED1_0(GpuCommandBufferMsg_DestroyVideoDecoder, |
| 412 int /* route_id */) | 414 int /* route_id */) |
| 413 | 415 |
| 414 // Send from command buffer stub to proxy when window is invalid and must be | 416 // Send from command buffer stub to proxy when window is invalid and must be |
| 415 // repainted. | 417 // repainted. |
| 416 IPC_MESSAGE_ROUTED0(GpuCommandBufferMsg_NotifyRepaint) | 418 IPC_MESSAGE_ROUTED0(GpuCommandBufferMsg_NotifyRepaint) |
| 417 | 419 |
| (...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 515 | 517 |
| 516 // Confirm decoder has been flushed. | 518 // Confirm decoder has been flushed. |
| 517 IPC_MESSAGE_ROUTED0(AcceleratedVideoDecoderHostMsg_FlushDone) | 519 IPC_MESSAGE_ROUTED0(AcceleratedVideoDecoderHostMsg_FlushDone) |
| 518 | 520 |
| 519 // Confirm decoder has been reset. | 521 // Confirm decoder has been reset. |
| 520 IPC_MESSAGE_ROUTED0(AcceleratedVideoDecoderHostMsg_ResetDone) | 522 IPC_MESSAGE_ROUTED0(AcceleratedVideoDecoderHostMsg_ResetDone) |
| 521 | 523 |
| 522 // Video decoder has encountered an error. | 524 // Video decoder has encountered an error. |
| 523 IPC_MESSAGE_ROUTED1(AcceleratedVideoDecoderHostMsg_ErrorNotification, | 525 IPC_MESSAGE_ROUTED1(AcceleratedVideoDecoderHostMsg_ErrorNotification, |
| 524 uint32) /* Error ID */ | 526 uint32) /* Error ID */ |
| OLD | NEW |