Monado OpenXR Runtime
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
18extern "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 */
27struct xrt_compositor_gl *
28xrt_gfx_provider_create_gl_win32(struct xrt_compositor_native *xcn, void *hDC, void *hGLRC);
29
30
31#ifdef __cplusplus
32}
33#endif
struct xrt_compositor_gl * xrt_gfx_provider_create_gl_win32(struct xrt_compositor_native *xcn, void *hDC, void *hGLRC)
Create an OpenGL compositor client using Win32.
Definition: comp_gl_win32_glue.c:20
Base class for an OpenGL (ES) client compositor.
Definition: xrt_compositor.h:1960
Main compositor server interface.
Definition: xrt_compositor.h:2224
Header declaring XRT graphics interfaces.