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

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

Issue 15745014: Move GPU device/driver info related code from content to gpu. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: rebase Created 7 years, 7 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 | Annotate | Revision Log
« no previous file with comments | « gpu/config/gpu_info.h ('k') | gpu/config/gpu_info_collector.h » ('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 "content/public/common/gpu_info.h" 5 #include "gpu/config/gpu_info.h"
6 6
7 namespace content { 7 namespace gpu {
8 8
9 GPUInfo::GPUDevice::GPUDevice() 9 GPUInfo::GPUDevice::GPUDevice()
10 : vendor_id(0), 10 : vendor_id(0),
11 device_id(0) { 11 device_id(0) {
12 } 12 }
13 13
14 GPUInfo::GPUDevice::~GPUDevice() { } 14 GPUInfo::GPUDevice::~GPUDevice() { }
15 15
16 GPUInfo::GPUInfo() 16 GPUInfo::GPUInfo()
17 : finalized(false), 17 : finalized(false),
18 optimus(false), 18 optimus(false),
19 amd_switchable(false), 19 amd_switchable(false),
20 lenovo_dcute(false), 20 lenovo_dcute(false),
21 can_lose_context(false), 21 can_lose_context(false),
22 gpu_accessible(true), 22 gpu_accessible(true),
23 software_rendering(false), 23 software_rendering(false),
24 sandboxed(false) { 24 sandboxed(false) {
25 } 25 }
26 26
27 GPUInfo::~GPUInfo() { } 27 GPUInfo::~GPUInfo() { }
28 28
29 } // namespace content 29 } // namespace gpu
OLDNEW
« no previous file with comments | « gpu/config/gpu_info.h ('k') | gpu/config/gpu_info_collector.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698