| 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 147 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 158 basic_gpu_info->driver_vendor = context_gpu_info.driver_vendor; | 158 basic_gpu_info->driver_vendor = context_gpu_info.driver_vendor; |
| 159 if (!context_gpu_info.driver_version.empty()) | 159 if (!context_gpu_info.driver_version.empty()) |
| 160 basic_gpu_info->driver_version = context_gpu_info.driver_version; | 160 basic_gpu_info->driver_version = context_gpu_info.driver_version; |
| 161 | 161 |
| 162 basic_gpu_info->can_lose_context = context_gpu_info.can_lose_context; | 162 basic_gpu_info->can_lose_context = context_gpu_info.can_lose_context; |
| 163 basic_gpu_info->sandboxed = context_gpu_info.sandboxed; | 163 basic_gpu_info->sandboxed = context_gpu_info.sandboxed; |
| 164 basic_gpu_info->direct_rendering = context_gpu_info.direct_rendering; | 164 basic_gpu_info->direct_rendering = context_gpu_info.direct_rendering; |
| 165 basic_gpu_info->in_process_gpu = context_gpu_info.in_process_gpu; | 165 basic_gpu_info->in_process_gpu = context_gpu_info.in_process_gpu; |
| 166 basic_gpu_info->context_info_state = context_gpu_info.context_info_state; | 166 basic_gpu_info->context_info_state = context_gpu_info.context_info_state; |
| 167 basic_gpu_info->initialization_time = context_gpu_info.initialization_time; | 167 basic_gpu_info->initialization_time = context_gpu_info.initialization_time; |
| 168 basic_gpu_info->video_decode_accelerator_supported_profiles = | 168 basic_gpu_info->video_decode_accelerator_capabilities = |
| 169 context_gpu_info.video_decode_accelerator_supported_profiles; | 169 context_gpu_info.video_decode_accelerator_capabilities; |
| 170 basic_gpu_info->video_encode_accelerator_supported_profiles = | 170 basic_gpu_info->video_encode_accelerator_supported_profiles = |
| 171 context_gpu_info.video_encode_accelerator_supported_profiles; | 171 context_gpu_info.video_encode_accelerator_supported_profiles; |
| 172 basic_gpu_info->jpeg_decode_accelerator_supported = | 172 basic_gpu_info->jpeg_decode_accelerator_supported = |
| 173 context_gpu_info.jpeg_decode_accelerator_supported; | 173 context_gpu_info.jpeg_decode_accelerator_supported; |
| 174 } | 174 } |
| 175 | 175 |
| 176 } // namespace gpu | 176 } // namespace gpu |
| 177 | 177 |
| OLD | NEW |