| 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 <string> | 7 #include <string> |
| 8 #include <vector> | 8 #include <vector> |
| 9 | 9 |
| 10 #include "base/logging.h" | 10 #include "base/logging.h" |
| (...skipping 142 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 153 context_gpu_info.gl_reset_notification_strategy; | 153 context_gpu_info.gl_reset_notification_strategy; |
| 154 | 154 |
| 155 if (!context_gpu_info.driver_vendor.empty()) | 155 if (!context_gpu_info.driver_vendor.empty()) |
| 156 basic_gpu_info->driver_vendor = context_gpu_info.driver_vendor; | 156 basic_gpu_info->driver_vendor = context_gpu_info.driver_vendor; |
| 157 if (!context_gpu_info.driver_version.empty()) | 157 if (!context_gpu_info.driver_version.empty()) |
| 158 basic_gpu_info->driver_version = context_gpu_info.driver_version; | 158 basic_gpu_info->driver_version = context_gpu_info.driver_version; |
| 159 | 159 |
| 160 basic_gpu_info->can_lose_context = context_gpu_info.can_lose_context; | 160 basic_gpu_info->can_lose_context = context_gpu_info.can_lose_context; |
| 161 basic_gpu_info->sandboxed = context_gpu_info.sandboxed; | 161 basic_gpu_info->sandboxed = context_gpu_info.sandboxed; |
| 162 basic_gpu_info->direct_rendering = context_gpu_info.direct_rendering; | 162 basic_gpu_info->direct_rendering = context_gpu_info.direct_rendering; |
| 163 basic_gpu_info->in_process_gpu = context_gpu_info.in_process_gpu; |
| 163 basic_gpu_info->context_info_state = context_gpu_info.context_info_state; | 164 basic_gpu_info->context_info_state = context_gpu_info.context_info_state; |
| 164 basic_gpu_info->initialization_time = context_gpu_info.initialization_time; | 165 basic_gpu_info->initialization_time = context_gpu_info.initialization_time; |
| 165 basic_gpu_info->video_decode_accelerator_supported_profiles = | 166 basic_gpu_info->video_decode_accelerator_supported_profiles = |
| 166 context_gpu_info.video_decode_accelerator_supported_profiles; | 167 context_gpu_info.video_decode_accelerator_supported_profiles; |
| 167 basic_gpu_info->video_encode_accelerator_supported_profiles = | 168 basic_gpu_info->video_encode_accelerator_supported_profiles = |
| 168 context_gpu_info.video_encode_accelerator_supported_profiles; | 169 context_gpu_info.video_encode_accelerator_supported_profiles; |
| 169 basic_gpu_info->jpeg_decode_accelerator_supported = | 170 basic_gpu_info->jpeg_decode_accelerator_supported = |
| 170 context_gpu_info.jpeg_decode_accelerator_supported; | 171 context_gpu_info.jpeg_decode_accelerator_supported; |
| 171 } | 172 } |
| 172 | 173 |
| 173 } // namespace gpu | 174 } // namespace gpu |
| 174 | 175 |
| OLD | NEW |