21 #include "../../SDL_internal.h" 23 #ifndef SDL_waylandopengles_h_ 24 #define SDL_waylandopengles_h_ 26 #include "../SDL_sysvideo.h" 27 #include "../SDL_egl_c.h" 35 #define Wayland_GLES_GetAttribute SDL_EGL_GetAttribute 36 #define Wayland_GLES_GetProcAddress SDL_EGL_GetProcAddress 37 #define Wayland_GLES_UnloadLibrary SDL_EGL_UnloadLibrary 38 #define Wayland_GLES_SetSwapInterval SDL_EGL_SetSwapInterval 39 #define Wayland_GLES_GetSwapInterval SDL_EGL_GetSwapInterval void Wayland_GLES_DeleteContext(_THIS, SDL_GLContext context)
static screen_context_t context
SDL_GLContext Wayland_GLES_CreateContext(_THIS, SDL_Window *window)
void * SDL_GLContext
An opaque handle to an OpenGL context.
int Wayland_GLES_MakeCurrent(_THIS, SDL_Window *window, SDL_GLContext context)
int Wayland_GLES_SwapWindow(_THIS, SDL_Window *window)
EGLSurface EGLNativeWindowType * window
The type used to identify a window.
GLsizei const GLchar *const * path
int Wayland_GLES_LoadLibrary(_THIS, const char *path)