Go to the documentation of this file.
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
int MIR_GL_SwapWindow(_THIS, SDL_Window *window)
int MIR_GL_LoadLibrary(_THIS, const char *path)
GLsizei const GLchar *const * path
The type used to identify a window.
void * SDL_GLContext
An opaque handle to an OpenGL context.
SDL_GLContext MIR_GL_CreateContext(_THIS, SDL_Window *window)
static screen_context_t context
int MIR_GL_MakeCurrent(_THIS, SDL_Window *window, SDL_GLContext context)
EGLSurface EGLNativeWindowType * window