#ifndef LINUX_VR_COMPOSITOR_CONTEXT_H #define LINUX_VR_COMPOSITOR_CONTEXT_H #include #include "swapChain.h" #include typedef struct { SwapChain * swapChain; // EGL EGLDisplay display; EGLSurface surface; EGLContext context; } lvrc_contextGL; lvrc_contextGL * CreateContext(ohmd_device * octx, EGLenum API); void DestroyContext(lvrc_contextGL * context); void ContextSwapBuffers(lvrc_contextGL * ctx); #endif // LINUX_VR_COMPOSITOR_CONTEXT_H