| 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 164 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 175 basic_gpu_info->driver_vendor = context_gpu_info.driver_vendor; | 175 basic_gpu_info->driver_vendor = context_gpu_info.driver_vendor; |
| 176 if (!context_gpu_info.driver_version.empty()) | 176 if (!context_gpu_info.driver_version.empty()) |
| 177 basic_gpu_info->driver_version = context_gpu_info.driver_version; | 177 basic_gpu_info->driver_version = context_gpu_info.driver_version; |
| 178 | 178 |
| 179 basic_gpu_info->can_lose_context = context_gpu_info.can_lose_context; | 179 basic_gpu_info->can_lose_context = context_gpu_info.can_lose_context; |
| 180 basic_gpu_info->sandboxed = context_gpu_info.sandboxed; | 180 basic_gpu_info->sandboxed = context_gpu_info.sandboxed; |
| 181 basic_gpu_info->direct_rendering = context_gpu_info.direct_rendering; | 181 basic_gpu_info->direct_rendering = context_gpu_info.direct_rendering; |
| 182 basic_gpu_info->in_process_gpu = context_gpu_info.in_process_gpu; | 182 basic_gpu_info->in_process_gpu = context_gpu_info.in_process_gpu; |
| 183 basic_gpu_info->context_info_state = context_gpu_info.context_info_state; | 183 basic_gpu_info->context_info_state = context_gpu_info.context_info_state; |
| 184 basic_gpu_info->initialization_time = context_gpu_info.initialization_time; | 184 basic_gpu_info->initialization_time = context_gpu_info.initialization_time; |
| 185 basic_gpu_info->video_decode_accelerator_supported_profiles = | 185 basic_gpu_info->video_decode_accelerator_capabilities = |
| 186 context_gpu_info.video_decode_accelerator_supported_profiles; | 186 context_gpu_info.video_decode_accelerator_capabilities; |
| 187 basic_gpu_info->video_encode_accelerator_supported_profiles = | 187 basic_gpu_info->video_encode_accelerator_supported_profiles = |
| 188 context_gpu_info.video_encode_accelerator_supported_profiles; | 188 context_gpu_info.video_encode_accelerator_supported_profiles; |
| 189 basic_gpu_info->jpeg_decode_accelerator_supported = | 189 basic_gpu_info->jpeg_decode_accelerator_supported = |
| 190 context_gpu_info.jpeg_decode_accelerator_supported; | 190 context_gpu_info.jpeg_decode_accelerator_supported; |
| 191 } | 191 } |
| 192 | 192 |
| 193 } // namespace gpu | 193 } // namespace gpu |
| 194 | 194 |
| OLD | NEW |