| 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 #include "gpu/ipc/common/gpu_info_struct_traits.h" | 5 #include "gpu/ipc/common/gpu_info_struct_traits.h" |
| 6 | 6 |
| 7 #include "ipc/ipc_message_utils.h" | 7 #include "ipc/ipc_message_utils.h" |
| 8 #include "mojo/common/common_custom_types_struct_traits.h" | 8 #include "mojo/common/common_custom_types_struct_traits.h" |
| 9 | 9 |
| 10 namespace mojo { | 10 namespace mojo { |
| (...skipping 206 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 217 gpu::GPUInfo* out) { | 217 gpu::GPUInfo* out) { |
| 218 out->optimus = data.optimus(); | 218 out->optimus = data.optimus(); |
| 219 out->amd_switchable = data.amd_switchable(); | 219 out->amd_switchable = data.amd_switchable(); |
| 220 out->lenovo_dcute = data.lenovo_dcute(); | 220 out->lenovo_dcute = data.lenovo_dcute(); |
| 221 out->adapter_luid = data.adapter_luid(); | 221 out->adapter_luid = data.adapter_luid(); |
| 222 out->gl_reset_notification_strategy = data.gl_reset_notification_strategy(); | 222 out->gl_reset_notification_strategy = data.gl_reset_notification_strategy(); |
| 223 out->software_rendering = data.software_rendering(); | 223 out->software_rendering = data.software_rendering(); |
| 224 out->direct_rendering = data.direct_rendering(); | 224 out->direct_rendering = data.direct_rendering(); |
| 225 out->sandboxed = data.sandboxed(); | 225 out->sandboxed = data.sandboxed(); |
| 226 out->in_process_gpu = data.in_process_gpu(); | 226 out->in_process_gpu = data.in_process_gpu(); |
| 227 out->passthrough_cmd_decoder = data.passthrough_cmd_decoder(); |
| 227 out->process_crash_count = data.process_crash_count(); | 228 out->process_crash_count = data.process_crash_count(); |
| 228 out->jpeg_decode_accelerator_supported = | 229 out->jpeg_decode_accelerator_supported = |
| 229 data.jpeg_decode_accelerator_supported(); | 230 data.jpeg_decode_accelerator_supported(); |
| 230 | 231 |
| 231 #if defined(USE_X11) && !defined(OS_CHROMEOS) | 232 #if defined(USE_X11) && !defined(OS_CHROMEOS) |
| 232 out->system_visual = data.system_visual(); | 233 out->system_visual = data.system_visual(); |
| 233 out->rgba_visual = data.rgba_visual(); | 234 out->rgba_visual = data.rgba_visual(); |
| 234 #endif | 235 #endif |
| 235 | 236 |
| 236 return data.ReadInitializationTime(&out->initialization_time) && | 237 return data.ReadInitializationTime(&out->initialization_time) && |
| (...skipping 21 matching lines...) Expand all Loading... |
| 258 data.ReadDxDiagnosticsInfoState(&out->dx_diagnostics_info_state) && | 259 data.ReadDxDiagnosticsInfoState(&out->dx_diagnostics_info_state) && |
| 259 data.ReadDxDiagnostics(&out->dx_diagnostics) && | 260 data.ReadDxDiagnostics(&out->dx_diagnostics) && |
| 260 #endif | 261 #endif |
| 261 data.ReadVideoDecodeAcceleratorCapabilities( | 262 data.ReadVideoDecodeAcceleratorCapabilities( |
| 262 &out->video_decode_accelerator_capabilities) && | 263 &out->video_decode_accelerator_capabilities) && |
| 263 data.ReadVideoEncodeAcceleratorSupportedProfiles( | 264 data.ReadVideoEncodeAcceleratorSupportedProfiles( |
| 264 &out->video_encode_accelerator_supported_profiles); | 265 &out->video_encode_accelerator_supported_profiles); |
| 265 } | 266 } |
| 266 | 267 |
| 267 } // namespace mojo | 268 } // namespace mojo |
| OLD | NEW |