| 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 168 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 179 | 179 |
| 180 IPC_STRUCT_TRAITS_BEGIN(content::GPUMemoryUmaStats) | 180 IPC_STRUCT_TRAITS_BEGIN(content::GPUMemoryUmaStats) |
| 181 IPC_STRUCT_TRAITS_MEMBER(bytes_allocated_current) | 181 IPC_STRUCT_TRAITS_MEMBER(bytes_allocated_current) |
| 182 IPC_STRUCT_TRAITS_MEMBER(bytes_allocated_max) | 182 IPC_STRUCT_TRAITS_MEMBER(bytes_allocated_max) |
| 183 IPC_STRUCT_TRAITS_MEMBER(bytes_limit) | 183 IPC_STRUCT_TRAITS_MEMBER(bytes_limit) |
| 184 IPC_STRUCT_TRAITS_END() | 184 IPC_STRUCT_TRAITS_END() |
| 185 | 185 |
| 186 IPC_STRUCT_TRAITS_BEGIN(gpu::MemoryAllocation) | 186 IPC_STRUCT_TRAITS_BEGIN(gpu::MemoryAllocation) |
| 187 IPC_STRUCT_TRAITS_MEMBER(bytes_limit_when_visible) | 187 IPC_STRUCT_TRAITS_MEMBER(bytes_limit_when_visible) |
| 188 IPC_STRUCT_TRAITS_MEMBER(priority_cutoff_when_visible) | 188 IPC_STRUCT_TRAITS_MEMBER(priority_cutoff_when_visible) |
| 189 IPC_STRUCT_TRAITS_MEMBER(bytes_limit_when_not_visible) | |
| 190 IPC_STRUCT_TRAITS_MEMBER(priority_cutoff_when_not_visible) | |
| 191 IPC_STRUCT_TRAITS_MEMBER(have_backbuffer_when_not_visible) | |
| 192 IPC_STRUCT_TRAITS_END() | 189 IPC_STRUCT_TRAITS_END() |
| 193 IPC_ENUM_TRAITS(gpu::MemoryAllocation::PriorityCutoff) | 190 IPC_ENUM_TRAITS(gpu::MemoryAllocation::PriorityCutoff) |
| 194 | 191 |
| 195 IPC_STRUCT_TRAITS_BEGIN(gpu::ManagedMemoryStats) | 192 IPC_STRUCT_TRAITS_BEGIN(gpu::ManagedMemoryStats) |
| 196 IPC_STRUCT_TRAITS_MEMBER(bytes_required) | 193 IPC_STRUCT_TRAITS_MEMBER(bytes_required) |
| 197 IPC_STRUCT_TRAITS_MEMBER(bytes_nice_to_have) | 194 IPC_STRUCT_TRAITS_MEMBER(bytes_nice_to_have) |
| 198 IPC_STRUCT_TRAITS_MEMBER(bytes_allocated) | 195 IPC_STRUCT_TRAITS_MEMBER(bytes_allocated) |
| 199 IPC_STRUCT_TRAITS_MEMBER(backbuffer_requested) | 196 IPC_STRUCT_TRAITS_MEMBER(backbuffer_requested) |
| 200 IPC_STRUCT_TRAITS_END() | 197 IPC_STRUCT_TRAITS_END() |
| 201 | 198 |
| (...skipping 569 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 771 | 768 |
| 772 // Notify the renderer that an output buffer has been filled with encoded data. | 769 // Notify the renderer that an output buffer has been filled with encoded data. |
| 773 IPC_MESSAGE_ROUTED3(AcceleratedVideoEncoderHostMsg_BitstreamBufferReady, | 770 IPC_MESSAGE_ROUTED3(AcceleratedVideoEncoderHostMsg_BitstreamBufferReady, |
| 774 int32 /* bitstream_buffer_id */, | 771 int32 /* bitstream_buffer_id */, |
| 775 uint32 /* payload_size */, | 772 uint32 /* payload_size */, |
| 776 bool /* key_frame */) | 773 bool /* key_frame */) |
| 777 | 774 |
| 778 // Report error condition. | 775 // Report error condition. |
| 779 IPC_MESSAGE_ROUTED1(AcceleratedVideoEncoderHostMsg_NotifyError, | 776 IPC_MESSAGE_ROUTED1(AcceleratedVideoEncoderHostMsg_NotifyError, |
| 780 media::VideoEncodeAccelerator::Error /* error */) | 777 media::VideoEncodeAccelerator::Error /* error */) |
| OLD | NEW |