Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(12)

Side by Side Diff: gpu/config/gpu_info_collector.cc

Issue 795633005: Add VDA supported profile to GPUInfo. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 139 matching lines...) Expand 10 before | Expand all | Expand 10 after
150 if (!context_gpu_info.driver_vendor.empty()) 150 if (!context_gpu_info.driver_vendor.empty())
151 basic_gpu_info->driver_vendor = context_gpu_info.driver_vendor; 151 basic_gpu_info->driver_vendor = context_gpu_info.driver_vendor;
152 if (!context_gpu_info.driver_version.empty()) 152 if (!context_gpu_info.driver_version.empty())
153 basic_gpu_info->driver_version = context_gpu_info.driver_version; 153 basic_gpu_info->driver_version = context_gpu_info.driver_version;
154 154
155 basic_gpu_info->can_lose_context = context_gpu_info.can_lose_context; 155 basic_gpu_info->can_lose_context = context_gpu_info.can_lose_context;
156 basic_gpu_info->sandboxed = context_gpu_info.sandboxed; 156 basic_gpu_info->sandboxed = context_gpu_info.sandboxed;
157 basic_gpu_info->direct_rendering = context_gpu_info.direct_rendering; 157 basic_gpu_info->direct_rendering = context_gpu_info.direct_rendering;
158 basic_gpu_info->context_info_state = context_gpu_info.context_info_state; 158 basic_gpu_info->context_info_state = context_gpu_info.context_info_state;
159 basic_gpu_info->initialization_time = context_gpu_info.initialization_time; 159 basic_gpu_info->initialization_time = context_gpu_info.initialization_time;
160 basic_gpu_info->support_query_video_decode_profiles =
161 context_gpu_info.support_query_video_decode_profiles;
162 basic_gpu_info->video_decode_accelerator_supported_profiles =
163 context_gpu_info.video_decode_accelerator_supported_profiles;
160 basic_gpu_info->video_encode_accelerator_supported_profiles = 164 basic_gpu_info->video_encode_accelerator_supported_profiles =
161 context_gpu_info.video_encode_accelerator_supported_profiles; 165 context_gpu_info.video_encode_accelerator_supported_profiles;
162 } 166 }
163 167
164 } // namespace gpu 168 } // namespace gpu
165 169
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698