| 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 "content/common/gpu_info.h" | 5 #include "content/common/gpu/gpu_info.h" |
| 6 | 6 |
| 7 GPUInfo::GPUInfo() | 7 GPUInfo::GPUInfo() |
| 8 : finalized(false), | 8 : finalized(false), |
| 9 vendor_id(0), | 9 vendor_id(0), |
| 10 device_id(0), | 10 device_id(0), |
| 11 can_lose_context(false) { | 11 can_lose_context(false) { |
| 12 } | 12 } |
| 13 | 13 |
| 14 GPUInfo::~GPUInfo() { } | 14 GPUInfo::~GPUInfo() { } |
| 15 | 15 |
| (...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 54 can_lose_context = other.can_lose_context; | 54 can_lose_context = other.can_lose_context; |
| 55 #if defined(OS_WIN) | 55 #if defined(OS_WIN) |
| 56 if (dx_diagnostics.values.size() == 0 && | 56 if (dx_diagnostics.values.size() == 0 && |
| 57 dx_diagnostics.children.size() == 0) | 57 dx_diagnostics.children.size() == 0) |
| 58 dx_diagnostics = other.dx_diagnostics; | 58 dx_diagnostics = other.dx_diagnostics; |
| 59 #endif | 59 #endif |
| 60 } | 60 } |
| 61 return changed; | 61 return changed; |
| 62 } | 62 } |
| 63 | 63 |
| OLD | NEW |