Debian Codegraph @

3rdparty/osgXR/src/OpenXR/GraphicsBindingX11.h

raw symbols SCIP
1 // SPDX-License-Identifier: LGPL-2.1-only
2 // Copyright (C) 2021 James Hogan <[email protected]>
3
4 #ifndef OSGXR_OPENXR_GRAPHICS_BINDING_X11
5 #define OSGXR_OPENXR_GRAPHICS_BINDING_X11 1
6
7 #ifdef OSGXR_USE_X11
8
9 #include "GraphicsBinding.h"
10
11 #include <osgViewer/api/X11/GraphicsWindowX11>
12
13 #define XR_USE_GRAPHICS_API_OPENGL
14 #define XR_USE_PLATFORM_XLIB
15 #include <openxr/openxr_platform.h>
16
17 namespace osgXR {
18
19 namespace OpenXR {
20
21 typedef GraphicsBindingImpl<osgViewer::GraphicsWindowX11, XrGraphicsBindingOpenGLXlibKHR> GraphicsBindingX11;
22
23 } // osgXR::OpenXR
24
25 } // osgXR
26
27 #endif // OSGXR_USE_X11
28
29 #endif