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 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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 IPC_STRUCT_MEMBER(int32, route_id) | 72 IPC_STRUCT_MEMBER(int32, route_id) |
73 IPC_STRUCT_MEMBER(std::string, mailbox_name) | 73 IPC_STRUCT_MEMBER(gpu::Mailbox, mailbox) |
74 IPC_STRUCT_MEMBER(gfx::Size, size) | 74 IPC_STRUCT_MEMBER(gfx::Size, size) |
75 IPC_STRUCT_MEMBER(float, scale_factor) | 75 IPC_STRUCT_MEMBER(float, scale_factor) |
76 IPC_STRUCT_MEMBER(std::vector<ui::LatencyInfo>, latency_info) | 76 IPC_STRUCT_MEMBER(std::vector<ui::LatencyInfo>, latency_info) |
77 IPC_STRUCT_END() | 77 IPC_STRUCT_END() |
78 | 78 |
79 IPC_STRUCT_BEGIN(GpuHostMsg_AcceleratedSurfacePostSubBuffer_Params) | 79 IPC_STRUCT_BEGIN(GpuHostMsg_AcceleratedSurfacePostSubBuffer_Params) |
80 IPC_STRUCT_MEMBER(int32, surface_id) | 80 IPC_STRUCT_MEMBER(int32, surface_id) |
81 IPC_STRUCT_MEMBER(uint64, surface_handle) | 81 IPC_STRUCT_MEMBER(uint64, surface_handle) |
82 IPC_STRUCT_MEMBER(int32, route_id) | 82 IPC_STRUCT_MEMBER(int32, route_id) |
83 IPC_STRUCT_MEMBER(int, x) | 83 IPC_STRUCT_MEMBER(int, x) |
84 IPC_STRUCT_MEMBER(int, y) | 84 IPC_STRUCT_MEMBER(int, y) |
85 IPC_STRUCT_MEMBER(int, width) | 85 IPC_STRUCT_MEMBER(int, width) |
86 IPC_STRUCT_MEMBER(int, height) | 86 IPC_STRUCT_MEMBER(int, height) |
87 IPC_STRUCT_MEMBER(std::string, mailbox_name) | 87 IPC_STRUCT_MEMBER(gpu::Mailbox, mailbox) |
88 IPC_STRUCT_MEMBER(gfx::Size, surface_size) | 88 IPC_STRUCT_MEMBER(gfx::Size, surface_size) |
89 IPC_STRUCT_MEMBER(float, surface_scale_factor) | 89 IPC_STRUCT_MEMBER(float, surface_scale_factor) |
90 IPC_STRUCT_MEMBER(std::vector<ui::LatencyInfo>, latency_info) | 90 IPC_STRUCT_MEMBER(std::vector<ui::LatencyInfo>, latency_info) |
91 IPC_STRUCT_END() | 91 IPC_STRUCT_END() |
92 | 92 |
93 IPC_STRUCT_BEGIN(GpuHostMsg_AcceleratedSurfaceRelease_Params) | 93 IPC_STRUCT_BEGIN(GpuHostMsg_AcceleratedSurfaceRelease_Params) |
94 IPC_STRUCT_MEMBER(int32, surface_id) | 94 IPC_STRUCT_MEMBER(int32, surface_id) |
95 IPC_STRUCT_END() | 95 IPC_STRUCT_END() |
96 | 96 |
97 IPC_STRUCT_BEGIN(AcceleratedSurfaceMsg_BufferPresented_Params) | 97 IPC_STRUCT_BEGIN(AcceleratedSurfaceMsg_BufferPresented_Params) |
98 IPC_STRUCT_MEMBER(std::string, mailbox_name) | 98 IPC_STRUCT_MEMBER(gpu::Mailbox, mailbox) |
99 IPC_STRUCT_MEMBER(uint32, sync_point) | 99 IPC_STRUCT_MEMBER(uint32, sync_point) |
100 #if defined(OS_MACOSX) | 100 #if defined(OS_MACOSX) |
101 IPC_STRUCT_MEMBER(int32, renderer_id) | 101 IPC_STRUCT_MEMBER(int32, renderer_id) |
102 #endif | 102 #endif |
103 #if defined(OS_WIN) | 103 #if defined(OS_WIN) |
104 IPC_STRUCT_MEMBER(base::TimeTicks, vsync_timebase) | 104 IPC_STRUCT_MEMBER(base::TimeTicks, vsync_timebase) |
105 IPC_STRUCT_MEMBER(base::TimeDelta, vsync_interval) | 105 IPC_STRUCT_MEMBER(base::TimeDelta, vsync_interval) |
106 #endif | 106 #endif |
107 IPC_STRUCT_END() | 107 IPC_STRUCT_END() |
108 | 108 |
(...skipping 675 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
784 | 784 |
785 // Notify the renderer that an output buffer has been filled with encoded data. | 785 // Notify the renderer that an output buffer has been filled with encoded data. |
786 IPC_MESSAGE_ROUTED3(AcceleratedVideoEncoderHostMsg_BitstreamBufferReady, | 786 IPC_MESSAGE_ROUTED3(AcceleratedVideoEncoderHostMsg_BitstreamBufferReady, |
787 int32 /* bitstream_buffer_id */, | 787 int32 /* bitstream_buffer_id */, |
788 uint32 /* payload_size */, | 788 uint32 /* payload_size */, |
789 bool /* key_frame */) | 789 bool /* key_frame */) |
790 | 790 |
791 // Report error condition. | 791 // Report error condition. |
792 IPC_MESSAGE_ROUTED1(AcceleratedVideoEncoderHostMsg_NotifyError, | 792 IPC_MESSAGE_ROUTED1(AcceleratedVideoEncoderHostMsg_NotifyError, |
793 media::VideoEncodeAccelerator::Error /* error */) | 793 media::VideoEncodeAccelerator::Error /* error */) |
OLD | NEW |