int MIR_GL_SwapWindow(_THIS, SDL_Window* window) { MIR_Window* mir_wind = window->driverdata; return SDL_EGL_SwapBuffers(_this, mir_wind->egl_surface); }
void Android_GLES_SwapWindow(_THIS, SDL_Window * window) { /* FIXME: These two functions were in the Java code, do we really need them? */ _this->egl_data->eglWaitNative(EGL_CORE_NATIVE_ENGINE); _this->egl_data->eglWaitGL(); SDL_EGL_SwapBuffers(_this, ((SDL_WindowData *) window->driverdata)->egl_surface); }
int Wayland_GLES_SwapWindow(_THIS, SDL_Window *window) { if (SDL_EGL_SwapBuffers(_this, ((SDL_WindowData *) window->driverdata)->egl_surface) < 0) { return -1; } WAYLAND_wl_display_flush( ((SDL_VideoData*)_this->driverdata)->display ); return 0; }
void Wayland_GLES_SwapWindow(_THIS, SDL_Window *window) { SDL_EGL_SwapBuffers(_this, ((SDL_WindowData *) window->driverdata)->egl_surface); WAYLAND_wl_display_flush( ((SDL_VideoData*)_this->driverdata)->display ); }