26 lines
383 B
C
26 lines
383 B
C
#ifndef LINUX_VR_COMPOSITOR_STATE_H
|
|
#define LINUX_VR_COMPOSITOR_STATE_H
|
|
|
|
#include <openhmd.h>
|
|
|
|
#ifdef ENABLE_XCB
|
|
# include <xcb/xcb.h>
|
|
#endif // ENABLE_XCB
|
|
|
|
#include "swapChain.h"
|
|
|
|
typedef struct
|
|
{
|
|
ohmd_device * device;
|
|
|
|
#ifdef ENABLE_XCB
|
|
xcb_connection_t * connection;
|
|
int screen;
|
|
#endif // ENABLE_XCB
|
|
|
|
SwapChain * swapChain;
|
|
|
|
} Instance;
|
|
|
|
#endif // LINUX_VR_COMPOSITOR_STATE_H
|