21 #include "../../SDL_internal.h" 23 #ifndef SDL_x11opengles_h_ 24 #define SDL_x11opengles_h_ 26 #if SDL_VIDEO_OPENGL_EGL 28 #include "../SDL_sysvideo.h" 29 #include "../SDL_egl_c.h" 39 #define X11_GLES_GetAttribute SDL_EGL_GetAttribute 40 #define X11_GLES_GetProcAddress SDL_EGL_GetProcAddress 41 #define X11_GLES_UnloadLibrary SDL_EGL_UnloadLibrary 42 #define X11_GLES_SetSwapInterval SDL_EGL_SetSwapInterval 43 #define X11_GLES_GetSwapInterval SDL_EGL_GetSwapInterval 44 #define X11_GLES_DeleteContext SDL_EGL_DeleteContext 46 extern int X11_GLES_LoadLibrary(
_THIS,
const char *
path);
47 extern XVisualInfo *X11_GLES_GetVisual(
_THIS, Display * display,
int screen);
static screen_context_t context
void * SDL_GLContext
An opaque handle to an OpenGL context.
EGLSurface EGLNativeWindowType * window
The type used to identify a window.
GLsizei const GLchar *const * path