Go to the documentation of this file.
26 #include "../../SDL_internal.h"
28 #if SDL_VIDEO_DRIVER_MIR
69 SDL_EGL_LoadLibrary(
_this,
path, MIR_mir_connection_get_egl_native_display(mir_data->
connection), 0);
71 SDL_EGL_ChooseConfig(
_this);
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
static SDL_VideoDevice * _this
int MIR_GL_MakeCurrent(_THIS, SDL_Window *window, SDL_GLContext context)
EGLSurface EGLNativeWindowType * window
MirConnection * connection