Go to the documentation of this file.
22 #ifndef _SDL_offscreenopengl_h
23 #define _SDL_offscreenopengl_h
27 #include "../SDL_egl_c.h"
29 #define OFFSCREEN_GL_DeleteContext SDL_EGL_DeleteContext
30 #define OFFSCREEN_GL_GetSwapInterval SDL_EGL_GetSwapInterval
31 #define OFFSCREEN_GL_SetSwapInterval SDL_EGL_SetSwapInterval
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
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)