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 GPUVidmem::GPUVidmem() { } |
| 28 |
| 29 GPUVidmem::~GPUVidmem() { } |
| 30 |
| 31 GPUVidmem::GPUProcessVidmem::GPUProcessVidmem() |
| 32 : vidmem(0), |
| 33 has_duplicates(false) { |
| 34 } |
| 35 |
| 36 GPUVidmem::GPUProcessVidmem::~GPUProcessVidmem() { } |
| 37 |
27 } // namespace content | 38 } // namespace content |
OLD | NEW |