dx_diag_node.h 691 B

123456789101112131415161718192021222324252627282930
  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. #ifndef GPU_CONFIG_DX_DIAG_NODE_H_
  8. #define GPU_CONFIG_DX_DIAG_NODE_H_
  9. #include <map>
  10. #include <string>
  11. #include "gpu/gpu_export.h"
  12. namespace gpu {
  13. struct GPU_EXPORT DxDiagNode {
  14. DxDiagNode();
  15. DxDiagNode(const DxDiagNode& other);
  16. ~DxDiagNode();
  17. bool IsEmpty() const;
  18. std::map<std::string, std::string> values;
  19. std::map<std::string, DxDiagNode> children;
  20. };
  21. } // namespace gpu
  22. #endif // GPU_CONFIG_DX_DIAG_NODE_H_