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/debug/trace_event.h" | 10 #include "base/debug/trace_event.h" |
(...skipping 138 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
149 if (!context_gpu_info.driver_vendor.empty()) | 149 if (!context_gpu_info.driver_vendor.empty()) |
150 basic_gpu_info->driver_vendor = context_gpu_info.driver_vendor; | 150 basic_gpu_info->driver_vendor = context_gpu_info.driver_vendor; |
151 if (!context_gpu_info.driver_version.empty()) | 151 if (!context_gpu_info.driver_version.empty()) |
152 basic_gpu_info->driver_version = context_gpu_info.driver_version; | 152 basic_gpu_info->driver_version = context_gpu_info.driver_version; |
153 | 153 |
154 basic_gpu_info->can_lose_context = context_gpu_info.can_lose_context; | 154 basic_gpu_info->can_lose_context = context_gpu_info.can_lose_context; |
155 basic_gpu_info->sandboxed = context_gpu_info.sandboxed; | 155 basic_gpu_info->sandboxed = context_gpu_info.sandboxed; |
156 basic_gpu_info->direct_rendering = context_gpu_info.direct_rendering; | 156 basic_gpu_info->direct_rendering = context_gpu_info.direct_rendering; |
157 basic_gpu_info->context_info_state = context_gpu_info.context_info_state; | 157 basic_gpu_info->context_info_state = context_gpu_info.context_info_state; |
158 basic_gpu_info->initialization_time = context_gpu_info.initialization_time; | 158 basic_gpu_info->initialization_time = context_gpu_info.initialization_time; |
| 159 basic_gpu_info->video_encode_accelerator_supported_profiles = |
| 160 context_gpu_info.video_encode_accelerator_supported_profiles; |
159 } | 161 } |
160 | 162 |
161 } // namespace gpu | 163 } // namespace gpu |
162 | 164 |
OLD | NEW |