Go to the documentation of this file.
22 #include "../../SDL_internal.h"
24 #if SDL_VIDEO_DRIVER_OFFSCREEN
64 int ret = SDL_EGL_LoadLibraryOnly(
_this,
path);
69 ret = SDL_EGL_InitializeOffscreen(
_this, 0);
74 ret = SDL_EGL_ChooseConfig(
_this);
85 SDL_EGL_UnloadLibrary(
_this);
91 void* proc_addr = SDL_EGL_GetProcAddress(
_this, proc);
int OFFSCREEN_GL_LoadLibrary(_THIS, const char *path)
void OFFSCREEN_GL_UnloadLibrary(_THIS)
GLsizei const GLchar *const * path
The type used to identify a window.
void * SDL_GLContext
An opaque handle to an OpenGL context.
static screen_context_t context
static SDL_VideoDevice * _this
EGLSurface EGLNativeWindowType * window
SDL_GLContext OFFSCREEN_GL_CreateContext(_THIS, SDL_Window *window)
int OFFSCREEN_GL_MakeCurrent(_THIS, SDL_Window *window, SDL_GLContext context)
int OFFSCREEN_GL_SwapWindow(_THIS, SDL_Window *window)
void * OFFSCREEN_GL_GetProcAddress(_THIS, const char *proc)