21 #include "../../SDL_internal.h" 23 #if SDL_VIDEO_DRIVER_WAYLAND && SDL_VIDEO_OPENGL_EGL 41 WAYLAND_wl_display_flush(data->
display);
72 if (window && context) {
87 SDL_EGL_DeleteContext(
_this, context);
struct wl_display * display
void Wayland_GLES_DeleteContext(_THIS, SDL_GLContext context)
static screen_context_t context
GLint GLenum GLsizei GLsizei GLsizei GLint GLsizei const GLvoid * data
SDL_GLContext Wayland_GLES_CreateContext(_THIS, SDL_Window *window)
static SDL_VideoDevice * _this
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)
void Wayland_PumpEvents(_THIS)
EGLSurface EGLNativeWindowType * window
The type used to identify a window.
GLsizei const GLchar *const * path
int Wayland_GLES_LoadLibrary(_THIS, const char *path)