First development release - WIP

This commit is contained in:
2018-09-18 20:00:49 +02:00
parent 9d8cc24939
commit a839879baa
13 changed files with 1080 additions and 1 deletions

25
src/instance.h Normal file
View File

@@ -0,0 +1,25 @@
#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