26 #ifndef SDL_miropengl_h_ 27 #define SDL_miropengl_h_ 31 #include "../SDL_egl_c.h" 33 #define MIR_GL_DeleteContext SDL_EGL_DeleteContext 34 #define MIR_GL_GetSwapInterval SDL_EGL_GetSwapInterval 35 #define MIR_GL_SetSwapInterval SDL_EGL_SetSwapInterval 36 #define MIR_GL_UnloadLibrary SDL_EGL_UnloadLibrary 37 #define MIR_GL_GetProcAddress SDL_EGL_GetProcAddress static screen_context_t context
void * SDL_GLContext
An opaque handle to an OpenGL context.
SDL_GLContext MIR_GL_CreateContext(_THIS, SDL_Window *window)
int MIR_GL_SwapWindow(_THIS, SDL_Window *window)
int MIR_GL_MakeCurrent(_THIS, SDL_Window *window, SDL_GLContext context)
EGLSurface EGLNativeWindowType * window
The type used to identify a window.
GLsizei const GLchar *const * path
int MIR_GL_LoadLibrary(_THIS, const char *path)