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 "content/public/common/gpu_info.h" | 5 #include "content/public/common/gpu_info.h" |
6 | 6 |
7 namespace content { | 7 namespace content { |
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 can_lose_context(false), | 20 can_lose_context(false), |
21 gpu_accessible(true), | 21 gpu_accessible(true), |
22 software_rendering(false) { | 22 software_rendering(false) { |
23 } | 23 } |
24 | 24 |
25 GPUInfo::~GPUInfo() { } | 25 GPUInfo::~GPUInfo() { } |
26 | 26 |
27 GPUVidmemUsageStats::GPUVidmemUsageStats() { } | |
brettw
2012/08/17 19:07:24
In .cc files I usually don't use the single-line f
ccameron
2012/08/17 20:52:55
Added a newline (this is now in gpu_memory_stats.c
| |
28 | |
29 GPUVidmemUsageStats::~GPUVidmemUsageStats() { } | |
30 | |
31 GPUVidmemUsageStats::GPUProcessVidmemUsageStats::GPUProcessVidmemUsageStats() | |
32 : vidmem(0), | |
33 has_duplicates(false) { | |
34 } | |
35 | |
36 GPUVidmemUsageStats::GPUProcessVidmemUsageStats:: | |
37 ~GPUProcessVidmemUsageStats() {} | |
38 | |
27 } // namespace content | 39 } // namespace content |
OLD | NEW |