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_feature_info.h" | 10 #include "gpu/config/gpu_feature_info.h" |
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
84 IPC_STRUCT_TRAITS_MEMBER(gl_ws_vendor) | 84 IPC_STRUCT_TRAITS_MEMBER(gl_ws_vendor) |
85 IPC_STRUCT_TRAITS_MEMBER(gl_ws_version) | 85 IPC_STRUCT_TRAITS_MEMBER(gl_ws_version) |
86 IPC_STRUCT_TRAITS_MEMBER(gl_ws_extensions) | 86 IPC_STRUCT_TRAITS_MEMBER(gl_ws_extensions) |
87 IPC_STRUCT_TRAITS_MEMBER(gl_reset_notification_strategy) | 87 IPC_STRUCT_TRAITS_MEMBER(gl_reset_notification_strategy) |
88 IPC_STRUCT_TRAITS_MEMBER(software_rendering) | 88 IPC_STRUCT_TRAITS_MEMBER(software_rendering) |
89 IPC_STRUCT_TRAITS_MEMBER(direct_rendering) | 89 IPC_STRUCT_TRAITS_MEMBER(direct_rendering) |
90 IPC_STRUCT_TRAITS_MEMBER(sandboxed) | 90 IPC_STRUCT_TRAITS_MEMBER(sandboxed) |
91 IPC_STRUCT_TRAITS_MEMBER(process_crash_count) | 91 IPC_STRUCT_TRAITS_MEMBER(process_crash_count) |
92 IPC_STRUCT_TRAITS_MEMBER(in_process_gpu) | 92 IPC_STRUCT_TRAITS_MEMBER(in_process_gpu) |
93 IPC_STRUCT_TRAITS_MEMBER(passthrough_cmd_decoder) | 93 IPC_STRUCT_TRAITS_MEMBER(passthrough_cmd_decoder) |
| 94 IPC_STRUCT_TRAITS_MEMBER(supports_overlays) |
94 IPC_STRUCT_TRAITS_MEMBER(basic_info_state) | 95 IPC_STRUCT_TRAITS_MEMBER(basic_info_state) |
95 IPC_STRUCT_TRAITS_MEMBER(context_info_state) | 96 IPC_STRUCT_TRAITS_MEMBER(context_info_state) |
96 #if defined(OS_WIN) | 97 #if defined(OS_WIN) |
97 IPC_STRUCT_TRAITS_MEMBER(dx_diagnostics_info_state) | 98 IPC_STRUCT_TRAITS_MEMBER(dx_diagnostics_info_state) |
98 IPC_STRUCT_TRAITS_MEMBER(dx_diagnostics) | 99 IPC_STRUCT_TRAITS_MEMBER(dx_diagnostics) |
99 #endif | 100 #endif |
100 IPC_STRUCT_TRAITS_MEMBER(video_decode_accelerator_capabilities) | 101 IPC_STRUCT_TRAITS_MEMBER(video_decode_accelerator_capabilities) |
101 IPC_STRUCT_TRAITS_MEMBER(video_encode_accelerator_supported_profiles) | 102 IPC_STRUCT_TRAITS_MEMBER(video_encode_accelerator_supported_profiles) |
102 IPC_STRUCT_TRAITS_MEMBER(jpeg_decode_accelerator_supported) | 103 IPC_STRUCT_TRAITS_MEMBER(jpeg_decode_accelerator_supported) |
103 #if defined(USE_X11) && !defined(OS_CHROMEOS) | 104 #if defined(USE_X11) && !defined(OS_CHROMEOS) |
104 IPC_STRUCT_TRAITS_MEMBER(system_visual) | 105 IPC_STRUCT_TRAITS_MEMBER(system_visual) |
105 IPC_STRUCT_TRAITS_MEMBER(rgba_visual) | 106 IPC_STRUCT_TRAITS_MEMBER(rgba_visual) |
106 #endif | 107 #endif |
107 IPC_STRUCT_TRAITS_END() | 108 IPC_STRUCT_TRAITS_END() |
108 | 109 |
109 IPC_STRUCT_TRAITS_BEGIN(gpu::MemoryAllocation) | 110 IPC_STRUCT_TRAITS_BEGIN(gpu::MemoryAllocation) |
110 IPC_STRUCT_TRAITS_MEMBER(bytes_limit_when_visible) | 111 IPC_STRUCT_TRAITS_MEMBER(bytes_limit_when_visible) |
111 IPC_STRUCT_TRAITS_MEMBER(priority_cutoff_when_visible) | 112 IPC_STRUCT_TRAITS_MEMBER(priority_cutoff_when_visible) |
112 IPC_STRUCT_TRAITS_END() | 113 IPC_STRUCT_TRAITS_END() |
113 | 114 |
114 IPC_ENUM_TRAITS_MAX_VALUE(gpu::GpuFeatureStatus, gpu::kGpuFeatureStatusMax) | 115 IPC_ENUM_TRAITS_MAX_VALUE(gpu::GpuFeatureStatus, gpu::kGpuFeatureStatusMax) |
115 | 116 |
116 IPC_STRUCT_TRAITS_BEGIN(gpu::GpuFeatureInfo) | 117 IPC_STRUCT_TRAITS_BEGIN(gpu::GpuFeatureInfo) |
117 IPC_STRUCT_TRAITS_MEMBER(status_values) | 118 IPC_STRUCT_TRAITS_MEMBER(status_values) |
118 IPC_STRUCT_TRAITS_END() | 119 IPC_STRUCT_TRAITS_END() |
119 | 120 |
120 #endif // GPU_IPC_COMMON_GPU_PARAM_TRAITS_MACROS_H_ | 121 #endif // GPU_IPC_COMMON_GPU_PARAM_TRAITS_MACROS_H_ |
OLD | NEW |