summaryrefslogtreecommitdiffstats
path: root/gpu/config/gpu_info.cc
diff options
context:
space:
mode:
Diffstat (limited to 'gpu/config/gpu_info.cc')
-rw-r--r--gpu/config/gpu_info.cc29
1 files changed, 29 insertions, 0 deletions
diff --git a/gpu/config/gpu_info.cc b/gpu/config/gpu_info.cc
new file mode 100644
index 0000000..b8a9e3c
--- /dev/null
+++ b/gpu/config/gpu_info.cc
@@ -0,0 +1,29 @@
+// Copyright (c) 2012 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#include "gpu/config/gpu_info.h"
+
+namespace gpu {
+
+GPUInfo::GPUDevice::GPUDevice()
+ : vendor_id(0),
+ device_id(0) {
+}
+
+GPUInfo::GPUDevice::~GPUDevice() { }
+
+GPUInfo::GPUInfo()
+ : finalized(false),
+ optimus(false),
+ amd_switchable(false),
+ lenovo_dcute(false),
+ can_lose_context(false),
+ gpu_accessible(true),
+ software_rendering(false),
+ sandboxed(false) {
+}
+
+GPUInfo::~GPUInfo() { }
+
+} // namespace gpu