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), 0);
71 SDL_EGL_ChooseConfig(
_this);
static screen_context_t context
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_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)