blob: 4663b8a41fa4a43f3fba50d638d8d69e14c9bf6d (
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
34
35
36
|
// Copyright 2019 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.
#ifndef DEVICE_VR_OPENXR_OPENXR_STATICS_H_
#define DEVICE_VR_OPENXR_OPENXR_STATICS_H_
#include <d3d11.h>
#include <memory>
#include "build/build_config.h"
#include "device/vr/vr_export.h"
#include "third_party/openxr/src/include/openxr/openxr.h"
#include "third_party/openxr/src/include/openxr/openxr_platform.h"
namespace device {
class DEVICE_VR_EXPORT OpenXrStatics {
public:
OpenXrStatics();
~OpenXrStatics();
bool IsHardwareAvailable();
bool IsApiAvailable();
#if defined(OS_WIN)
LUID GetLuid();
#endif
private:
XrInstance instance_;
};
} // namespace device
#endif // DEVICE_VR_WINDOWS_MIXED_REALITY_MIXED_REALITY_STATICS_H_
|