| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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/config/gpu_info_collector.h" | 5 #include "gpu/config/gpu_info_collector.h" |
| 6 | 6 |
| 7 #include <stddef.h> | 7 #include <stddef.h> |
| 8 #include <stdint.h> | 8 #include <stdint.h> |
| 9 | 9 |
| 10 #include <string> | 10 #include <string> |
| (...skipping 214 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 225 basic_gpu_info->driver_vendor = context_gpu_info.driver_vendor; | 225 basic_gpu_info->driver_vendor = context_gpu_info.driver_vendor; |
| 226 if (!context_gpu_info.driver_version.empty()) | 226 if (!context_gpu_info.driver_version.empty()) |
| 227 basic_gpu_info->driver_version = context_gpu_info.driver_version; | 227 basic_gpu_info->driver_version = context_gpu_info.driver_version; |
| 228 | 228 |
| 229 basic_gpu_info->sandboxed = context_gpu_info.sandboxed; | 229 basic_gpu_info->sandboxed = context_gpu_info.sandboxed; |
| 230 basic_gpu_info->direct_rendering = context_gpu_info.direct_rendering; | 230 basic_gpu_info->direct_rendering = context_gpu_info.direct_rendering; |
| 231 basic_gpu_info->in_process_gpu = context_gpu_info.in_process_gpu; | 231 basic_gpu_info->in_process_gpu = context_gpu_info.in_process_gpu; |
| 232 basic_gpu_info->passthrough_cmd_decoder = | 232 basic_gpu_info->passthrough_cmd_decoder = |
| 233 context_gpu_info.passthrough_cmd_decoder; | 233 context_gpu_info.passthrough_cmd_decoder; |
| 234 basic_gpu_info->supports_overlays = context_gpu_info.supports_overlays; | 234 basic_gpu_info->supports_overlays = context_gpu_info.supports_overlays; |
| 235 basic_gpu_info->hdr = context_gpu_info.hdr; |
| 235 basic_gpu_info->context_info_state = context_gpu_info.context_info_state; | 236 basic_gpu_info->context_info_state = context_gpu_info.context_info_state; |
| 236 basic_gpu_info->initialization_time = context_gpu_info.initialization_time; | 237 basic_gpu_info->initialization_time = context_gpu_info.initialization_time; |
| 237 basic_gpu_info->video_decode_accelerator_capabilities = | 238 basic_gpu_info->video_decode_accelerator_capabilities = |
| 238 context_gpu_info.video_decode_accelerator_capabilities; | 239 context_gpu_info.video_decode_accelerator_capabilities; |
| 239 basic_gpu_info->video_encode_accelerator_supported_profiles = | 240 basic_gpu_info->video_encode_accelerator_supported_profiles = |
| 240 context_gpu_info.video_encode_accelerator_supported_profiles; | 241 context_gpu_info.video_encode_accelerator_supported_profiles; |
| 241 basic_gpu_info->jpeg_decode_accelerator_supported = | 242 basic_gpu_info->jpeg_decode_accelerator_supported = |
| 242 context_gpu_info.jpeg_decode_accelerator_supported; | 243 context_gpu_info.jpeg_decode_accelerator_supported; |
| 243 | 244 |
| 244 #if defined(USE_X11) && !defined(OS_CHROMEOS) | 245 #if defined(USE_X11) && !defined(OS_CHROMEOS) |
| (...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 339 } | 340 } |
| 340 | 341 |
| 341 gpu_info->optimus = system_info->isOptimus; | 342 gpu_info->optimus = system_info->isOptimus; |
| 342 gpu_info->amd_switchable = system_info->isAMDSwitchable; | 343 gpu_info->amd_switchable = system_info->isAMDSwitchable; |
| 343 | 344 |
| 344 gpu_info->machine_model_name = system_info->machineModelName; | 345 gpu_info->machine_model_name = system_info->machineModelName; |
| 345 gpu_info->machine_model_version = system_info->machineModelVersion; | 346 gpu_info->machine_model_version = system_info->machineModelVersion; |
| 346 } | 347 } |
| 347 | 348 |
| 348 } // namespace gpu | 349 } // namespace gpu |
| OLD | NEW |