| 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 "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 |
| OLD | NEW |