1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 2 // Use of this source code is governed by a BSD-style license that can be 3 // found in the LICENSE file. 4 // 5 // A tree of name value pairs that report contain DirectX diagnostic 6 // information. 7 8 #ifndef GPU_CONFIG_DX_DIAG_NODE_H_ 9 #define GPU_CONFIG_DX_DIAG_NODE_H_ 10 11 #include <map> 12 #include <string> 13 14 #include "gpu/gpu_export.h" 15 16 namespace gpu { 17 18 struct GPU_EXPORT DxDiagNode { 19 DxDiagNode(); 20 DxDiagNode(const DxDiagNode& other); 21 ~DxDiagNode(); 22 bool IsEmpty() const; 23 24 std::map<std::string, std::string> values; 25 std::map<std::string, DxDiagNode> children; 26 }; 27 28 } // namespace gpu 29 30 #endif // GPU_CONFIG_DX_DIAG_NODE_H_ 31