Chromium Code Reviews| Index: content/common/gpu/gpu_messages.h |
| diff --git a/content/common/gpu/gpu_messages.h b/content/common/gpu/gpu_messages.h |
| index 5026150b802bb909ca3d615649d6328069068844..ed02b96a0b6abd529a7167c19f25f9c356550558 100644 |
| --- a/content/common/gpu/gpu_messages.h |
| +++ b/content/common/gpu/gpu_messages.h |
| @@ -78,12 +78,12 @@ IPC_STRUCT_BEGIN(GPUCreateCommandBufferConfig) |
| IPC_STRUCT_END() |
| IPC_STRUCT_BEGIN(GpuMsg_CreateGpuMemoryBuffer_Params) |
| -IPC_STRUCT_MEMBER(int32, id) |
| -IPC_STRUCT_MEMBER(gfx::Size, size) |
| -IPC_STRUCT_MEMBER(gfx::GpuMemoryBuffer::Format, format) |
| -IPC_STRUCT_MEMBER(gfx::GpuMemoryBuffer::Usage, usage) |
| -IPC_STRUCT_MEMBER(int32, client_id) |
| -IPC_STRUCT_MEMBER(gfx::PluginWindowHandle, surface_handle) |
| + IPC_STRUCT_MEMBER(int32, id) |
| + IPC_STRUCT_MEMBER(gfx::Size, size) |
| + IPC_STRUCT_MEMBER(gfx::GpuMemoryBuffer::Format, format) |
| + IPC_STRUCT_MEMBER(gfx::GpuMemoryBuffer::Usage, usage) |
| + IPC_STRUCT_MEMBER(int32, client_id) |
| + IPC_STRUCT_MEMBER(gfx::PluginWindowHandle, surface_handle) |
| IPC_STRUCT_END() |
| IPC_STRUCT_BEGIN(GpuHostMsg_AcceleratedSurfaceBuffersSwapped_Params) |
| @@ -152,6 +152,12 @@ IPC_STRUCT_TRAITS_BEGIN(gpu::GPUInfo::GPUDevice) |
| IPC_STRUCT_TRAITS_MEMBER(device_string) |
| IPC_STRUCT_TRAITS_END() |
| +IPC_STRUCT_TRAITS_BEGIN(gpu::VideoDecodeAcceleratorSupportedProfile) |
| + IPC_STRUCT_TRAITS_MEMBER(profile) |
| + IPC_STRUCT_TRAITS_MEMBER(min_resolution) |
|
wuchengli
2015/03/18 08:02:37
max_resolution should be before min_resolution to
henryhsu
2015/03/18 11:06:08
Done.
|
| + IPC_STRUCT_TRAITS_MEMBER(max_resolution) |
| +IPC_STRUCT_TRAITS_END() |
| + |
| IPC_STRUCT_TRAITS_BEGIN(gpu::VideoEncodeAcceleratorSupportedProfile) |
| IPC_STRUCT_TRAITS_MEMBER(profile) |
| IPC_STRUCT_TRAITS_MEMBER(max_resolution) |
| @@ -194,6 +200,8 @@ IPC_STRUCT_TRAITS_BEGIN(gpu::GPUInfo) |
| IPC_STRUCT_TRAITS_MEMBER(dx_diagnostics_info_state) |
| IPC_STRUCT_TRAITS_MEMBER(dx_diagnostics) |
| #endif |
| + IPC_STRUCT_TRAITS_MEMBER(support_query_video_decode_profile) |
| + IPC_STRUCT_TRAITS_MEMBER(video_decode_accelerator_supported_profiles) |
| IPC_STRUCT_TRAITS_MEMBER(video_encode_accelerator_supported_profiles) |
| IPC_STRUCT_TRAITS_END() |