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 GPU_IPC_COMMON_GPU_PARAM_TRAITS_MACROS_H_ | 5 #ifndef GPU_IPC_COMMON_GPU_PARAM_TRAITS_MACROS_H_ |
6 #define GPU_IPC_COMMON_GPU_PARAM_TRAITS_MACROS_H_ | 6 #define GPU_IPC_COMMON_GPU_PARAM_TRAITS_MACROS_H_ |
7 | 7 |
8 #include "gpu/command_buffer/common/constants.h" | 8 #include "gpu/command_buffer/common/constants.h" |
9 #include "gpu/command_buffer/common/gpu_memory_allocation.h" | 9 #include "gpu/command_buffer/common/gpu_memory_allocation.h" |
10 #include "gpu/config/gpu_info.h" | 10 #include "gpu/config/gpu_info.h" |
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
93 IPC_STRUCT_TRAITS_MEMBER(in_process_gpu) | 93 IPC_STRUCT_TRAITS_MEMBER(in_process_gpu) |
94 IPC_STRUCT_TRAITS_MEMBER(basic_info_state) | 94 IPC_STRUCT_TRAITS_MEMBER(basic_info_state) |
95 IPC_STRUCT_TRAITS_MEMBER(context_info_state) | 95 IPC_STRUCT_TRAITS_MEMBER(context_info_state) |
96 #if defined(OS_WIN) | 96 #if defined(OS_WIN) |
97 IPC_STRUCT_TRAITS_MEMBER(dx_diagnostics_info_state) | 97 IPC_STRUCT_TRAITS_MEMBER(dx_diagnostics_info_state) |
98 IPC_STRUCT_TRAITS_MEMBER(dx_diagnostics) | 98 IPC_STRUCT_TRAITS_MEMBER(dx_diagnostics) |
99 #endif | 99 #endif |
100 IPC_STRUCT_TRAITS_MEMBER(video_decode_accelerator_capabilities) | 100 IPC_STRUCT_TRAITS_MEMBER(video_decode_accelerator_capabilities) |
101 IPC_STRUCT_TRAITS_MEMBER(video_encode_accelerator_supported_profiles) | 101 IPC_STRUCT_TRAITS_MEMBER(video_encode_accelerator_supported_profiles) |
102 IPC_STRUCT_TRAITS_MEMBER(jpeg_decode_accelerator_supported) | 102 IPC_STRUCT_TRAITS_MEMBER(jpeg_decode_accelerator_supported) |
| 103 #if defined(USE_X11) && !defined(OS_CHROMEOS) |
| 104 IPC_STRUCT_TRAITS_MEMBER(system_visual) |
| 105 IPC_STRUCT_TRAITS_MEMBER(rgba_visual) |
| 106 #endif |
103 IPC_STRUCT_TRAITS_END() | 107 IPC_STRUCT_TRAITS_END() |
104 | 108 |
105 IPC_STRUCT_TRAITS_BEGIN(gpu::MemoryAllocation) | 109 IPC_STRUCT_TRAITS_BEGIN(gpu::MemoryAllocation) |
106 IPC_STRUCT_TRAITS_MEMBER(bytes_limit_when_visible) | 110 IPC_STRUCT_TRAITS_MEMBER(bytes_limit_when_visible) |
107 IPC_STRUCT_TRAITS_MEMBER(priority_cutoff_when_visible) | 111 IPC_STRUCT_TRAITS_MEMBER(priority_cutoff_when_visible) |
108 IPC_STRUCT_TRAITS_END() | 112 IPC_STRUCT_TRAITS_END() |
109 | 113 |
110 #endif // GPU_IPC_COMMON_GPU_PARAM_TRAITS_MACROS_H_ | 114 #endif // GPU_IPC_COMMON_GPU_PARAM_TRAITS_MACROS_H_ |
OLD | NEW |