OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 "chrome/common/gpu_info.h" | 5 #include "content/common/gpu_info.h" |
6 | 6 |
7 GPUInfo::GPUInfo() | 7 GPUInfo::GPUInfo() |
8 : level(kUninitialized), | 8 : level(kUninitialized), |
9 vendor_id(0), | 9 vendor_id(0), |
10 device_id(0), | 10 device_id(0), |
11 driver_vendor(""), | 11 driver_vendor(""), |
12 driver_version(""), | 12 driver_version(""), |
13 driver_date(""), | 13 driver_date(""), |
14 pixel_shader_version(0), | 14 pixel_shader_version(0), |
15 vertex_shader_version(0), | 15 vertex_shader_version(0), |
16 gl_version(0), | 16 gl_version(0), |
17 gl_version_string(""), | 17 gl_version_string(""), |
18 gl_vendor(""), | 18 gl_vendor(""), |
19 gl_renderer(""), | 19 gl_renderer(""), |
20 gl_extensions(""), | 20 gl_extensions(""), |
21 can_lose_context(false), | 21 can_lose_context(false), |
22 collection_error(false) { | 22 collection_error(false) { |
23 } | 23 } |
24 | 24 |
25 GPUInfo::~GPUInfo() { | 25 GPUInfo::~GPUInfo() { |
26 } | 26 } |
OLD | NEW |