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