Monado OpenXR Runtime
Loading...
Searching...
No Matches
xrt_gfx_win32.h
Go to the documentation of this file.
1
// Copyright 2019-2022, Collabora, Ltd.
2
// SPDX-License-Identifier: BSL-1.0
3
/*!
4
* @file
5
* @brief Header defining an XRT graphics provider.
6
* @author Rylie Pavlik <rylie.pavlik@collabora.com>
7
* @author Jakob Bornecrantz <jakob@collabora.com>
8
* @ingroup xrt_iface
9
*/
10
11
#pragma once
12
13
#include "
xrt/xrt_compositor.h
"
14
15
#include "glad/gl.h"
16
17
#ifdef __cplusplus
18
extern
"C"
{
19
#endif
20
21
/*!
22
* Create an OpenGL compositor client using Win32.
23
*
24
* @ingroup xrt_iface
25
* @public @memberof xrt_compositor_native
26
*/
27
struct
xrt_compositor_gl
*
28
xrt_gfx_provider_create_gl_win32(
struct
xrt_compositor_native
*xcn,
void
*hDC,
void
*hGLRC);
29
30
31
#ifdef __cplusplus
32
}
33
#endif
xrt_compositor_gl
Base class for an OpenGL (ES) client compositor.
Definition
xrt_compositor.h:1972
xrt_compositor_native
Main compositor server interface.
Definition
xrt_compositor.h:2236
xrt_compositor.h
Header declaring XRT graphics interfaces.
xrt
xrt_gfx_win32.h
Generated by
1.9.8