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

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

Issue 100543005: Update all users of base::Version to explicitly specify the namespace, and clean up the header. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: someday it will work Created 7 years 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 | Annotate | Revision Log
« 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 "gpu/config/gpu_info.h" 5 #include "gpu/config/gpu_info.h"
6 6
7 namespace { 7 namespace {
8 8
9 void EnumerateGPUDevice(gpu::GPUInfo::Enumerator* enumerator, 9 void EnumerateGPUDevice(gpu::GPUInfo::Enumerator* enumerator,
10 const gpu::GPUInfo::GPUDevice& device) { 10 const gpu::GPUInfo::GPUDevice& device) {
(...skipping 30 matching lines...) Expand all
41 41
42 GPUInfo::~GPUInfo() { } 42 GPUInfo::~GPUInfo() { }
43 43
44 void GPUInfo::EnumerateFields(Enumerator* enumerator) const { 44 void GPUInfo::EnumerateFields(Enumerator* enumerator) const {
45 struct GPUInfoKnownFields { 45 struct GPUInfoKnownFields {
46 bool finalized; 46 bool finalized;
47 base::TimeDelta initialization_time; 47 base::TimeDelta initialization_time;
48 bool optimus; 48 bool optimus;
49 bool amd_switchable; 49 bool amd_switchable;
50 bool lenovo_dcute; 50 bool lenovo_dcute;
51 Version display_link_version; 51 base::Version display_link_version;
52 GPUDevice gpu; 52 GPUDevice gpu;
53 std::vector<GPUDevice> secondary_gpus; 53 std::vector<GPUDevice> secondary_gpus;
54 uint64 adapter_luid; 54 uint64 adapter_luid;
55 std::string driver_vendor; 55 std::string driver_vendor;
56 std::string driver_version; 56 std::string driver_version;
57 std::string driver_date; 57 std::string driver_date;
58 std::string pixel_shader_version; 58 std::string pixel_shader_version;
59 std::string vertex_shader_version; 59 std::string vertex_shader_version;
60 std::string machine_model; 60 std::string machine_model;
61 std::string gl_version; 61 std::string gl_version;
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
120 static_cast<int>(gl_reset_notification_strategy)); 120 static_cast<int>(gl_reset_notification_strategy));
121 enumerator->AddBool("can_lose_context", can_lose_context); 121 enumerator->AddBool("can_lose_context", can_lose_context);
122 // TODO(kbr): add performance_stats. 122 // TODO(kbr): add performance_stats.
123 enumerator->AddBool("softwareRendering", software_rendering); 123 enumerator->AddBool("softwareRendering", software_rendering);
124 enumerator->AddBool("sandboxed", sandboxed); 124 enumerator->AddBool("sandboxed", sandboxed);
125 // TODO(kbr): add dx_diagnostics on Windows. 125 // TODO(kbr): add dx_diagnostics on Windows.
126 enumerator->EndAuxAttributes(); 126 enumerator->EndAuxAttributes();
127 } 127 }
128 128
129 } // namespace gpu 129 } // 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