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 // Functions to enumerate the Dx Diagnostic Tool hierarchy and build up | 5 // Functions to enumerate the Dx Diagnostic Tool hierarchy and build up |
6 // a tree of nodes with name / value properties. | 6 // a tree of nodes with name / value properties. |
7 | 7 |
8 #define INITGUID | 8 #define INITGUID |
9 #include <dxdiag.h> | 9 #include <dxdiag.h> |
10 #include <windows.h> | 10 #include <windows.h> |
11 | 11 |
12 #include "base/string_number_conversions.h" | 12 #include "base/strings/string_number_conversions.h" |
13 #include "base/strings/utf_string_conversions.h" | 13 #include "base/strings/utf_string_conversions.h" |
14 #include "base/win/scoped_com_initializer.h" | 14 #include "base/win/scoped_com_initializer.h" |
15 #include "gpu/config/gpu_info_collector.h" | 15 #include "gpu/config/gpu_info_collector.h" |
16 | 16 |
17 namespace gpu { | 17 namespace gpu { |
18 | 18 |
19 namespace { | 19 namespace { |
20 | 20 |
21 // Traverses the IDxDiagContainer tree and populates a tree of DxDiagNode | 21 // Traverses the IDxDiagContainer tree and populates a tree of DxDiagNode |
22 // structures that contains property name / value pairs and subtrees of DirectX | 22 // structures that contains property name / value pairs and subtrees of DirectX |
(...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
126 | 126 |
127 root->Release(); | 127 root->Release(); |
128 } | 128 } |
129 } | 129 } |
130 provider->Release(); | 130 provider->Release(); |
131 } | 131 } |
132 | 132 |
133 return success; | 133 return success; |
134 } | 134 } |
135 } // namespace gpu | 135 } // namespace gpu |
OLD | NEW |