| 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 522 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 533 media::VideoCodecProfile /* output_profile */, | 533 media::VideoCodecProfile /* output_profile */, |
| 534 uint32 /* initial_bitrate */, | 534 uint32 /* initial_bitrate */, |
| 535 int32, /* route_id */ | 535 int32, /* route_id */ |
| 536 bool /* succeeded */) | 536 bool /* succeeded */) |
| 537 | 537 |
| 538 // Tells the proxy that there was an error and the command buffer had to be | 538 // Tells the proxy that there was an error and the command buffer had to be |
| 539 // destroyed for some reason. | 539 // destroyed for some reason. |
| 540 IPC_MESSAGE_ROUTED1(GpuCommandBufferMsg_Destroyed, | 540 IPC_MESSAGE_ROUTED1(GpuCommandBufferMsg_Destroyed, |
| 541 gpu::error::ContextLostReason /* reason */) | 541 gpu::error::ContextLostReason /* reason */) |
| 542 | 542 |
| 543 // Request that the GPU process reply with the given message. Reply may be | |
| 544 // delayed. | |
| 545 IPC_MESSAGE_ROUTED1(GpuCommandBufferMsg_Echo, | |
| 546 IPC::Message /* reply */) | |
| 547 | |
| 548 // Response to a GpuChannelMsg_Echo message. | |
| 549 IPC_MESSAGE_ROUTED0(GpuCommandBufferMsg_EchoAck) | |
| 550 | |
| 551 // Send to stub on surface visibility change. | 543 // Send to stub on surface visibility change. |
| 552 IPC_MESSAGE_ROUTED1(GpuCommandBufferMsg_SetSurfaceVisible, bool /* visible */) | 544 IPC_MESSAGE_ROUTED1(GpuCommandBufferMsg_SetSurfaceVisible, bool /* visible */) |
| 553 | 545 |
| 554 // Sent to proxy when the gpu memory manager changes its memory allocation. | 546 // Sent to proxy when the gpu memory manager changes its memory allocation. |
| 555 IPC_MESSAGE_ROUTED1(GpuCommandBufferMsg_SetMemoryAllocation, | 547 IPC_MESSAGE_ROUTED1(GpuCommandBufferMsg_SetMemoryAllocation, |
| 556 gpu::MemoryAllocation /* allocation */) | 548 gpu::MemoryAllocation /* allocation */) |
| 557 | 549 |
| 558 // Sent to stub when proxy is assigned a memory allocation changed callback. | 550 // Sent to stub when proxy is assigned a memory allocation changed callback. |
| 559 IPC_MESSAGE_ROUTED1( | 551 IPC_MESSAGE_ROUTED1( |
| 560 GpuCommandBufferMsg_SetClientHasMemoryAllocationChangedCallback, | 552 GpuCommandBufferMsg_SetClientHasMemoryAllocationChangedCallback, |
| (...skipping 163 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 724 int32 /* bitstream_buffer_id */, | 716 int32 /* bitstream_buffer_id */, |
| 725 uint32 /* payload_size */, | 717 uint32 /* payload_size */, |
| 726 bool /* key_frame */) | 718 bool /* key_frame */) |
| 727 | 719 |
| 728 // Report error condition. | 720 // Report error condition. |
| 729 IPC_MESSAGE_ROUTED1(AcceleratedVideoEncoderHostMsg_NotifyError, | 721 IPC_MESSAGE_ROUTED1(AcceleratedVideoEncoderHostMsg_NotifyError, |
| 730 media::VideoEncodeAccelerator::Error /* error */) | 722 media::VideoEncodeAccelerator::Error /* error */) |
| 731 | 723 |
| 732 // Send destroy request to the encoder. | 724 // Send destroy request to the encoder. |
| 733 IPC_MESSAGE_ROUTED0(AcceleratedVideoEncoderMsg_Destroy) | 725 IPC_MESSAGE_ROUTED0(AcceleratedVideoEncoderMsg_Destroy) |
| OLD | NEW |