tangled
alpha
login
or
join now
matrixfurry.com
/
monado
0
fork
atom
The open source OpenXR runtime
0
fork
atom
overview
issues
pulls
pipelines
xrt: Header for Win32 OpenGL.
Ryan Pavlik
3 years ago
483b0ecb
f2967e83
+33
1 changed file
expand all
collapse all
unified
split
src
xrt
include
xrt
xrt_gfx_win32.h
+33
src/xrt/include/xrt/xrt_gfx_win32.h
···
1
1
+
// Copyright 2019-2022, Collabora, Ltd.
2
2
+
// SPDX-License-Identifier: BSL-1.0
3
3
+
/*!
4
4
+
* @file
5
5
+
* @brief Header defining a XRT graphics provider.
6
6
+
* @author Ryan Pavlik <ryan.pavlik@collabora.com>
7
7
+
* @author Jakob Bornecrantz <jakob@collabora.com>
8
8
+
* @ingroup xrt_iface
9
9
+
*/
10
10
+
11
11
+
#pragma once
12
12
+
13
13
+
#include "xrt/xrt_compositor.h"
14
14
+
15
15
+
#include "glad/gl.h"
16
16
+
17
17
+
#ifdef __cplusplus
18
18
+
extern "C" {
19
19
+
#endif
20
20
+
21
21
+
/*!
22
22
+
* Create an OpenGL compositor client using Win32.
23
23
+
*
24
24
+
* @ingroup xrt_iface
25
25
+
* @public @memberof xrt_compositor_native
26
26
+
*/
27
27
+
struct xrt_compositor_gl *
28
28
+
xrt_gfx_provider_create_gl_win32(struct xrt_compositor_native *xcn, void *hDC, void *hGLRC);
29
29
+
30
30
+
31
31
+
#ifdef __cplusplus
32
32
+
}
33
33
+
#endif