26 #include "../../SDL_internal.h" 28 #if SDL_VIDEO_DRIVER_MIR 47 return SDL_EGL_MakeCurrent(
_this, egl_surface, context);
69 SDL_EGL_LoadLibrary(
_this, path, MIR_mir_connection_get_egl_native_display(mir_data->
connection));
71 SDL_EGL_ChooseConfig(
_this);
79 SDL_EGL_UnloadLibrary(
_this);
85 void* proc_addr = SDL_EGL_GetProcAddress(
_this, proc);
void MIR_GL_UnloadLibrary(_THIS)
static SDL_Window * window
static SDL_VideoDevice * _this
MirConnection * connection
void * SDL_GLContext
An opaque handle to an OpenGL context.
SDL_GLContext MIR_GL_CreateContext(_THIS, SDL_Window *window)
int MIR_GL_MakeCurrent(_THIS, SDL_Window *window, SDL_GLContext context)
void * MIR_GL_GetProcAddress(_THIS, const char *proc)
The type used to identify a window.
GLsizei const GLchar *const * path
void MIR_GL_SwapWindow(_THIS, SDL_Window *window)
int MIR_GL_LoadLibrary(_THIS, const char *path)