summaryrefslogtreecommitdiff
path: root/chromium/gpu/config/dx_diag_node.h
blob: 7f77362d0841d0e38c60c7f224125edaf43528e3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
// Copyright (c) 2010 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
//
// A tree of name value pairs that report contain DirectX diagnostic
// information.

#ifndef GPU_CONFIG_DX_DIAG_NODE_H_
#define GPU_CONFIG_DX_DIAG_NODE_H_

#include "build/build_config.h"

#if defined(OS_WIN)

#include <map>
#include <string>

#include "gpu/gpu_export.h"

namespace gpu {

struct GPU_EXPORT DxDiagNode {
  DxDiagNode();
  ~DxDiagNode();
  std::map<std::string, std::string> values;
  std::map<std::string, DxDiagNode> children;
};

}  // namespace gpu

#endif // defined(OS_WIN)

#endif  // GPU_CONFIG_DX_DIAG_NODE_H_