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 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
62 IPC_STRUCT_BEGIN(GPUCreateCommandBufferConfig) | 62 IPC_STRUCT_BEGIN(GPUCreateCommandBufferConfig) |
63 IPC_STRUCT_MEMBER(int32, share_group_id) | 63 IPC_STRUCT_MEMBER(int32, share_group_id) |
64 IPC_STRUCT_MEMBER(std::vector<int>, attribs) | 64 IPC_STRUCT_MEMBER(std::vector<int>, attribs) |
65 IPC_STRUCT_MEMBER(GURL, active_url) | 65 IPC_STRUCT_MEMBER(GURL, active_url) |
66 IPC_STRUCT_MEMBER(gfx::GpuPreference, gpu_preference) | 66 IPC_STRUCT_MEMBER(gfx::GpuPreference, gpu_preference) |
67 IPC_STRUCT_END() | 67 IPC_STRUCT_END() |
68 | 68 |
69 IPC_STRUCT_BEGIN(GpuHostMsg_AcceleratedSurfaceBuffersSwapped_Params) | 69 IPC_STRUCT_BEGIN(GpuHostMsg_AcceleratedSurfaceBuffersSwapped_Params) |
70 IPC_STRUCT_MEMBER(int32, surface_id) | 70 IPC_STRUCT_MEMBER(int32, surface_id) |
71 IPC_STRUCT_MEMBER(uint64, surface_handle) | 71 IPC_STRUCT_MEMBER(uint64, surface_handle) |
| 72 #if defined(OS_MACOSX) |
| 73 IPC_STRUCT_MEMBER(uint32, ca_context_id) |
| 74 #endif |
72 IPC_STRUCT_MEMBER(int32, route_id) | 75 IPC_STRUCT_MEMBER(int32, route_id) |
73 IPC_STRUCT_MEMBER(gpu::Mailbox, mailbox) | 76 IPC_STRUCT_MEMBER(gpu::Mailbox, mailbox) |
74 IPC_STRUCT_MEMBER(gfx::Size, size) | 77 IPC_STRUCT_MEMBER(gfx::Size, size) |
75 IPC_STRUCT_MEMBER(float, scale_factor) | 78 IPC_STRUCT_MEMBER(float, scale_factor) |
76 IPC_STRUCT_MEMBER(std::vector<ui::LatencyInfo>, latency_info) | 79 IPC_STRUCT_MEMBER(std::vector<ui::LatencyInfo>, latency_info) |
77 IPC_STRUCT_END() | 80 IPC_STRUCT_END() |
78 | 81 |
79 IPC_STRUCT_BEGIN(GpuHostMsg_AcceleratedSurfacePostSubBuffer_Params) | 82 IPC_STRUCT_BEGIN(GpuHostMsg_AcceleratedSurfacePostSubBuffer_Params) |
80 IPC_STRUCT_MEMBER(int32, surface_id) | 83 IPC_STRUCT_MEMBER(int32, surface_id) |
81 IPC_STRUCT_MEMBER(uint64, surface_handle) | 84 IPC_STRUCT_MEMBER(uint64, surface_handle) |
| 85 #if defined(OS_MACOSX) |
| 86 IPC_STRUCT_MEMBER(uint32, ca_context_id) |
| 87 #endif |
82 IPC_STRUCT_MEMBER(int32, route_id) | 88 IPC_STRUCT_MEMBER(int32, route_id) |
83 IPC_STRUCT_MEMBER(int, x) | 89 IPC_STRUCT_MEMBER(int, x) |
84 IPC_STRUCT_MEMBER(int, y) | 90 IPC_STRUCT_MEMBER(int, y) |
85 IPC_STRUCT_MEMBER(int, width) | 91 IPC_STRUCT_MEMBER(int, width) |
86 IPC_STRUCT_MEMBER(int, height) | 92 IPC_STRUCT_MEMBER(int, height) |
87 IPC_STRUCT_MEMBER(gpu::Mailbox, mailbox) | 93 IPC_STRUCT_MEMBER(gpu::Mailbox, mailbox) |
88 IPC_STRUCT_MEMBER(gfx::Size, surface_size) | 94 IPC_STRUCT_MEMBER(gfx::Size, surface_size) |
89 IPC_STRUCT_MEMBER(float, surface_scale_factor) | 95 IPC_STRUCT_MEMBER(float, surface_scale_factor) |
90 IPC_STRUCT_MEMBER(std::vector<ui::LatencyInfo>, latency_info) | 96 IPC_STRUCT_MEMBER(std::vector<ui::LatencyInfo>, latency_info) |
91 IPC_STRUCT_END() | 97 IPC_STRUCT_END() |
(...skipping 688 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
780 int32 /* bitstream_buffer_id */, | 786 int32 /* bitstream_buffer_id */, |
781 uint32 /* payload_size */, | 787 uint32 /* payload_size */, |
782 bool /* key_frame */) | 788 bool /* key_frame */) |
783 | 789 |
784 // Report error condition. | 790 // Report error condition. |
785 IPC_MESSAGE_ROUTED1(AcceleratedVideoEncoderHostMsg_NotifyError, | 791 IPC_MESSAGE_ROUTED1(AcceleratedVideoEncoderHostMsg_NotifyError, |
786 media::VideoEncodeAccelerator::Error /* error */) | 792 media::VideoEncodeAccelerator::Error /* error */) |
787 | 793 |
788 // Send destroy request to the encoder. | 794 // Send destroy request to the encoder. |
789 IPC_MESSAGE_ROUTED0(AcceleratedVideoEncoderMsg_Destroy) | 795 IPC_MESSAGE_ROUTED0(AcceleratedVideoEncoderMsg_Destroy) |
OLD | NEW |