| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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 #ifndef CONTENT_COMMON_GPU_GPU_PARAM_TRAITS_MACROS_H_ | 5 #ifndef CONTENT_COMMON_GPU_GPU_PARAM_TRAITS_MACROS_H_ |
| 6 #define CONTENT_COMMON_GPU_GPU_PARAM_TRAITS_MACROS_H_ | 6 #define CONTENT_COMMON_GPU_GPU_PARAM_TRAITS_MACROS_H_ |
| 7 | 7 |
| 8 #include "content/common/content_export.h" | 8 #include "content/common/content_export.h" |
| 9 #include "content/common/gpu/gpu_stream_constants.h" | 9 #include "content/common/gpu/gpu_stream_constants.h" |
| 10 #include "gpu/command_buffer/common/constants.h" | 10 #include "gpu/command_buffer/common/constants.h" |
| 11 #include "gpu/command_buffer/common/gpu_memory_allocation.h" | 11 #include "gpu/command_buffer/common/gpu_memory_allocation.h" |
| 12 #include "gpu/config/gpu_info.h" | 12 #include "gpu/config/gpu_info.h" |
| 13 #include "ipc/ipc_message_macros.h" | 13 #include "ipc/ipc_message_macros.h" |
| 14 #include "ui/gfx/gpu_memory_buffer.h" | 14 #include "ui/gfx/gpu_memory_buffer.h" |
| 15 #include "ui/gfx/ipc/gfx_param_traits.h" | 15 #include "ui/gfx/ipc/gfx_param_traits.h" |
| 16 #include "ui/gfx/swap_result.h" | 16 #include "ui/gfx/swap_result.h" |
| 17 #include "ui/gl/gpu_preference.h" | 17 #include "ui/gl/gpu_preference.h" |
| 18 #include "url/ipc/url_param_traits.h" | 18 #include "url/ipc/url_param_traits.h" |
| 19 | 19 |
| 20 #undef IPC_MESSAGE_EXPORT | 20 #undef IPC_MESSAGE_EXPORT |
| 21 #define IPC_MESSAGE_EXPORT CONTENT_EXPORT | 21 #define IPC_MESSAGE_EXPORT CONTENT_EXPORT |
| 22 | 22 |
| 23 IPC_STRUCT_TRAITS_BEGIN(gpu::VideoDecodeAcceleratorSupportedProfile) | 23 IPC_STRUCT_TRAITS_BEGIN(gpu::VideoDecodeAcceleratorSupportedProfile) |
| 24 IPC_STRUCT_TRAITS_MEMBER(profile) | 24 IPC_STRUCT_TRAITS_MEMBER(profile) |
| 25 IPC_STRUCT_TRAITS_MEMBER(max_resolution) | 25 IPC_STRUCT_TRAITS_MEMBER(max_resolution) |
| 26 IPC_STRUCT_TRAITS_MEMBER(min_resolution) | 26 IPC_STRUCT_TRAITS_MEMBER(min_resolution) |
| 27 IPC_STRUCT_TRAITS_MEMBER(encrypted_only) |
| 27 IPC_STRUCT_TRAITS_END() | 28 IPC_STRUCT_TRAITS_END() |
| 28 | 29 |
| 29 IPC_STRUCT_TRAITS_BEGIN(gpu::VideoDecodeAcceleratorCapabilities) | 30 IPC_STRUCT_TRAITS_BEGIN(gpu::VideoDecodeAcceleratorCapabilities) |
| 30 IPC_STRUCT_TRAITS_MEMBER(supported_profiles) | 31 IPC_STRUCT_TRAITS_MEMBER(supported_profiles) |
| 31 IPC_STRUCT_TRAITS_MEMBER(flags) | 32 IPC_STRUCT_TRAITS_MEMBER(flags) |
| 32 IPC_STRUCT_TRAITS_END() | 33 IPC_STRUCT_TRAITS_END() |
| 33 | 34 |
| 34 IPC_STRUCT_TRAITS_BEGIN(gpu::VideoEncodeAcceleratorSupportedProfile) | 35 IPC_STRUCT_TRAITS_BEGIN(gpu::VideoEncodeAcceleratorSupportedProfile) |
| 35 IPC_STRUCT_TRAITS_MEMBER(profile) | 36 IPC_STRUCT_TRAITS_MEMBER(profile) |
| 36 IPC_STRUCT_TRAITS_MEMBER(max_resolution) | 37 IPC_STRUCT_TRAITS_MEMBER(max_resolution) |
| (...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 126 IPC_STRUCT_TRAITS_MEMBER(video_encode_accelerator_supported_profiles) | 127 IPC_STRUCT_TRAITS_MEMBER(video_encode_accelerator_supported_profiles) |
| 127 IPC_STRUCT_TRAITS_MEMBER(jpeg_decode_accelerator_supported) | 128 IPC_STRUCT_TRAITS_MEMBER(jpeg_decode_accelerator_supported) |
| 128 IPC_STRUCT_TRAITS_END() | 129 IPC_STRUCT_TRAITS_END() |
| 129 | 130 |
| 130 IPC_STRUCT_TRAITS_BEGIN(gpu::MemoryAllocation) | 131 IPC_STRUCT_TRAITS_BEGIN(gpu::MemoryAllocation) |
| 131 IPC_STRUCT_TRAITS_MEMBER(bytes_limit_when_visible) | 132 IPC_STRUCT_TRAITS_MEMBER(bytes_limit_when_visible) |
| 132 IPC_STRUCT_TRAITS_MEMBER(priority_cutoff_when_visible) | 133 IPC_STRUCT_TRAITS_MEMBER(priority_cutoff_when_visible) |
| 133 IPC_STRUCT_TRAITS_END() | 134 IPC_STRUCT_TRAITS_END() |
| 134 | 135 |
| 135 #endif // CONTENT_COMMON_GPU_GPU_PARAM_TRAITS_MACROS_H_ | 136 #endif // CONTENT_COMMON_GPU_GPU_PARAM_TRAITS_MACROS_H_ |
| OLD | NEW |