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

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

Issue 2258273002: Consistently use namespaced base::Version in gpu/ code. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 4 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
« no previous file with comments | « gpu/config/gpu_info.h ('k') | gpu/config/gpu_info_collector_win.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 <stdint.h> 5 #include <stdint.h>
6 6
7 #include "gpu/config/gpu_info.h" 7 #include "gpu/config/gpu_info.h"
8 8
9 namespace { 9 namespace {
10 10
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
88 GPUInfo::GPUInfo(const GPUInfo& other) = default; 88 GPUInfo::GPUInfo(const GPUInfo& other) = default;
89 89
90 GPUInfo::~GPUInfo() { } 90 GPUInfo::~GPUInfo() { }
91 91
92 void GPUInfo::EnumerateFields(Enumerator* enumerator) const { 92 void GPUInfo::EnumerateFields(Enumerator* enumerator) const {
93 struct GPUInfoKnownFields { 93 struct GPUInfoKnownFields {
94 base::TimeDelta initialization_time; 94 base::TimeDelta initialization_time;
95 bool optimus; 95 bool optimus;
96 bool amd_switchable; 96 bool amd_switchable;
97 bool lenovo_dcute; 97 bool lenovo_dcute;
98 Version display_link_version; 98 base::Version display_link_version;
99 GPUDevice gpu; 99 GPUDevice gpu;
100 std::vector<GPUDevice> secondary_gpus; 100 std::vector<GPUDevice> secondary_gpus;
101 uint64_t adapter_luid; 101 uint64_t adapter_luid;
102 std::string driver_vendor; 102 std::string driver_vendor;
103 std::string driver_version; 103 std::string driver_version;
104 std::string driver_date; 104 std::string driver_date;
105 std::string pixel_shader_version; 105 std::string pixel_shader_version;
106 std::string vertex_shader_version; 106 std::string vertex_shader_version;
107 std::string max_msaa_samples; 107 std::string max_msaa_samples;
108 std::string machine_model_name; 108 std::string machine_model_name;
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after
193 video_decode_accelerator_capabilities.supported_profiles) 193 video_decode_accelerator_capabilities.supported_profiles)
194 EnumerateVideoDecodeAcceleratorSupportedProfile(profile, enumerator); 194 EnumerateVideoDecodeAcceleratorSupportedProfile(profile, enumerator);
195 for (const auto& profile : video_encode_accelerator_supported_profiles) 195 for (const auto& profile : video_encode_accelerator_supported_profiles)
196 EnumerateVideoEncodeAcceleratorSupportedProfile(profile, enumerator); 196 EnumerateVideoEncodeAcceleratorSupportedProfile(profile, enumerator);
197 enumerator->AddBool("jpegDecodeAcceleratorSupported", 197 enumerator->AddBool("jpegDecodeAcceleratorSupported",
198 jpeg_decode_accelerator_supported); 198 jpeg_decode_accelerator_supported);
199 enumerator->EndAuxAttributes(); 199 enumerator->EndAuxAttributes();
200 } 200 }
201 201
202 } // namespace gpu 202 } // namespace gpu
OLDNEW
« no previous file with comments | « gpu/config/gpu_info.h ('k') | gpu/config/gpu_info_collector_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698