Blender  V3.3
GHOST_Xr_openxr_includes.h
Go to the documentation of this file.
1 /* SPDX-License-Identifier: GPL-2.0-or-later */
2 
11 #pragma once
12 
13 /* Platform headers */
14 #ifdef XR_USE_PLATFORM_WIN32
15 # define WIN32_LEAN_AND_MEAN
16 # define NOMINMAX
17 # include <windows.h>
18 #endif
19 
20 /* Graphics headers */
21 #ifdef XR_USE_GRAPHICS_API_D3D10
22 # include <d3d10_1.h>
23 #endif
24 #ifdef XR_USE_GRAPHICS_API_D3D11
25 # include <d3d11.h>
26 #endif
27 #ifdef XR_USE_GRAPHICS_API_D3D12
28 # include <d3d12.h>
29 #endif
30 #ifdef WITH_GHOST_X11
31 # ifdef WITH_GL_EGL
32 /* TODO: Why do we have to create this typedef manually? */
33 typedef void (*(*PFNEGLGETPROCADDRESSPROC)(const char *procname))(void);
34 # include <GL/eglew.h>
35 # else
36 # include <GL/glxew.h>
37 # endif
38 #endif
39 
40 #include <openxr/openxr.h>
41 #include <openxr/openxr_platform.h>
SyclQueue void void size_t num_bytes void