OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 369 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
380 | 380 |
381 // Get the shared memory handle for a transfer buffer mapped to the callers | 381 // Get the shared memory handle for a transfer buffer mapped to the callers |
382 // process. | 382 // process. |
383 IPC_SYNC_MESSAGE_ROUTED1_2(GpuCommandBufferMsg_GetTransferBuffer, | 383 IPC_SYNC_MESSAGE_ROUTED1_2(GpuCommandBufferMsg_GetTransferBuffer, |
384 int32 /* id */, | 384 int32 /* id */, |
385 base::SharedMemoryHandle /* transfer_buffer */, | 385 base::SharedMemoryHandle /* transfer_buffer */, |
386 uint32 /* size */) | 386 uint32 /* size */) |
387 | 387 |
388 // Create and initialize a hardware video decoder. | 388 // Create and initialize a hardware video decoder. |
389 IPC_SYNC_MESSAGE_ROUTED1_0(GpuCommandBufferMsg_CreateVideoDecoder, | 389 IPC_SYNC_MESSAGE_ROUTED1_0(GpuCommandBufferMsg_CreateVideoDecoder, |
390 std::vector<uint32> /* configs */) | 390 std::vector<int32> /* configs */) |
391 | 391 |
392 // Release all resources held by the hardware video decoder associated with this | 392 // Release all resources held by the hardware video decoder associated with this |
393 // stub. | 393 // stub. |
394 IPC_SYNC_MESSAGE_ROUTED0_0(GpuCommandBufferMsg_DestroyVideoDecoder) | 394 IPC_SYNC_MESSAGE_ROUTED0_0(GpuCommandBufferMsg_DestroyVideoDecoder) |
395 | 395 |
396 // Send from command buffer stub to proxy when window is invalid and must be | 396 // Send from command buffer stub to proxy when window is invalid and must be |
397 // repainted. | 397 // repainted. |
398 IPC_MESSAGE_ROUTED0(GpuCommandBufferMsg_NotifyRepaint) | 398 IPC_MESSAGE_ROUTED0(GpuCommandBufferMsg_NotifyRepaint) |
399 | 399 |
400 // Tells the GPU process to resize an offscreen frame buffer. | 400 // Tells the GPU process to resize an offscreen frame buffer. |
(...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
511 | 511 |
512 // Confirm decoder has been reset. | 512 // Confirm decoder has been reset. |
513 IPC_MESSAGE_ROUTED0(AcceleratedVideoDecoderHostMsg_ResetDone) | 513 IPC_MESSAGE_ROUTED0(AcceleratedVideoDecoderHostMsg_ResetDone) |
514 | 514 |
515 // Decoder has faced end of stream marker in the stream. | 515 // Decoder has faced end of stream marker in the stream. |
516 IPC_MESSAGE_ROUTED0(AcceleratedVideoDecoderHostMsg_EndOfStream) | 516 IPC_MESSAGE_ROUTED0(AcceleratedVideoDecoderHostMsg_EndOfStream) |
517 | 517 |
518 // Video decoder has encountered an error. | 518 // Video decoder has encountered an error. |
519 IPC_MESSAGE_ROUTED1(AcceleratedVideoDecoderHostMsg_ErrorNotification, | 519 IPC_MESSAGE_ROUTED1(AcceleratedVideoDecoderHostMsg_ErrorNotification, |
520 uint32) /* Error ID */ | 520 uint32) /* Error ID */ |
OLD | NEW |