21 #include "../../SDL_internal.h" 23 #if SDL_VIDEO_DRIVER_ANDROID 28 #include "../SDL_egl_c.h" 33 #include "../../core/android/SDL_android.h" 35 #include <android/log.h> 42 if (window && context) {
int Android_GLES_SwapWindow(_THIS, SDL_Window *window)
int Android_GLES_LoadLibrary(_THIS, const char *path)
void Android_ActivityMutex_Lock_Running(void)
static screen_context_t context
static SDL_VideoDevice * _this
SDL_GLContext Android_GLES_CreateContext(_THIS, SDL_Window *window)
void * SDL_GLContext
An opaque handle to an OpenGL context.
SDL_mutex * Android_ActivityMutex
EGLSurface EGLNativeWindowType * window
The type used to identify a window.
GLsizei const GLchar *const * path
int Android_GLES_MakeCurrent(_THIS, SDL_Window *window, SDL_GLContext context)