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 538 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
549 uint32 /* initial_bitrate */, | 549 uint32 /* initial_bitrate */, |
550 int32, /* route_id */ | 550 int32, /* route_id */ |
551 bool /* succeeded */) | 551 bool /* succeeded */) |
552 | 552 |
553 // Tells the proxy that there was an error and the command buffer had to be | 553 // Tells the proxy that there was an error and the command buffer had to be |
554 // destroyed for some reason. | 554 // destroyed for some reason. |
555 IPC_MESSAGE_ROUTED1(GpuCommandBufferMsg_Destroyed, | 555 IPC_MESSAGE_ROUTED1(GpuCommandBufferMsg_Destroyed, |
556 gpu::error::ContextLostReason /* reason */) | 556 gpu::error::ContextLostReason /* reason */) |
557 | 557 |
558 // Tells the browser that SwapBuffers returned and passes latency info | 558 // Tells the browser that SwapBuffers returned and passes latency info |
559 IPC_MESSAGE_ROUTED1(GpuCommandBufferMsg_SwapBuffersCompleted, | 559 IPC_MESSAGE_ROUTED2(GpuCommandBufferMsg_SwapBuffersCompleted, |
560 std::vector<ui::LatencyInfo> /* latency_info */) | 560 std::vector<ui::LatencyInfo> /* latency_info */, |
| 561 int32 /* result */) |
561 | 562 |
562 // Tells the browser about updated parameters for vsync alignment. | 563 // Tells the browser about updated parameters for vsync alignment. |
563 IPC_MESSAGE_ROUTED2(GpuCommandBufferMsg_UpdateVSyncParameters, | 564 IPC_MESSAGE_ROUTED2(GpuCommandBufferMsg_UpdateVSyncParameters, |
564 base::TimeTicks /* timebase */, | 565 base::TimeTicks /* timebase */, |
565 base::TimeDelta /* interval */) | 566 base::TimeDelta /* interval */) |
566 | 567 |
567 // Send to stub on surface visibility change. | 568 // Send to stub on surface visibility change. |
568 IPC_MESSAGE_ROUTED1(GpuCommandBufferMsg_SetSurfaceVisible, bool /* visible */) | 569 IPC_MESSAGE_ROUTED1(GpuCommandBufferMsg_SetSurfaceVisible, bool /* visible */) |
569 | 570 |
570 // Sent to proxy when the gpu memory manager changes its memory allocation. | 571 // Sent to proxy when the gpu memory manager changes its memory allocation. |
(...skipping 171 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
742 int32 /* bitstream_buffer_id */, | 743 int32 /* bitstream_buffer_id */, |
743 uint32 /* payload_size */, | 744 uint32 /* payload_size */, |
744 bool /* key_frame */) | 745 bool /* key_frame */) |
745 | 746 |
746 // Report error condition. | 747 // Report error condition. |
747 IPC_MESSAGE_ROUTED1(AcceleratedVideoEncoderHostMsg_NotifyError, | 748 IPC_MESSAGE_ROUTED1(AcceleratedVideoEncoderHostMsg_NotifyError, |
748 media::VideoEncodeAccelerator::Error /* error */) | 749 media::VideoEncodeAccelerator::Error /* error */) |
749 | 750 |
750 // Send destroy request to the encoder. | 751 // Send destroy request to the encoder. |
751 IPC_MESSAGE_ROUTED0(AcceleratedVideoEncoderMsg_Destroy) | 752 IPC_MESSAGE_ROUTED0(AcceleratedVideoEncoderMsg_Destroy) |
OLD | NEW |