Monado OpenXR Runtime
xrt_gfx_fd.h
Go to the documentation of this file.
1 // Copyright 2019-2020, Collabora, Ltd.
2 // SPDX-License-Identifier: BSL-1.0
3 /*!
4  * @file
5  * @brief Header defining a XRT graphics provider.
6  * @author Jakob Bornecrantz <jakob@collabora.com>
7  * @ingroup xrt_iface
8  */
9 
10 #pragma once
11 
12 #include "xrt/xrt_device.h"
13 #include "xrt/xrt_compositor.h"
14 
15 #ifdef __cplusplus
16 extern "C" {
17 #endif
18 
19 
20 struct time_state;
21 
22 /*!
23  * Creates the main fd compositor.
24  *
25  * @ingroup xrt_iface
26  */
27 struct xrt_compositor_fd *
28 xrt_gfx_provider_create_fd(struct xrt_device *xdev, bool flip_y);
29 
30 
31 #ifdef __cplusplus
32 }
33 #endif
Main compositor.
Definition: xrt_compositor.h:474
Header defining a xrt HMD device.
Time-keeping state structure.
Definition: u_time.cpp:46
Header defining a XRT graphics provider.
struct xrt_compositor_fd * xrt_gfx_provider_create_fd(struct xrt_device *xdev, bool flip_y)
Creates the main fd compositor.
Definition: comp_compositor.c:805
A single HMD or input device.
Definition: xrt_device.h:203