21 #include "../../SDL_internal.h" 23 #if SDL_VIDEO_DRIVER_ANDROID 26 #define SDL_ANDROID_BLOCK_ON_PAUSE 1 38 android_egl_context_restore()
52 android_egl_context_backup()
64 static int isPaused = 0;
65 #if SDL_ANDROID_BLOCK_ON_PAUSE 66 static int isPausing = 0;
75 #if SDL_ANDROID_BLOCK_ON_PAUSE 76 if (isPaused && !isPausing) {
78 android_egl_context_backup();
89 android_egl_context_restore();
94 #if SDL_ANDROID_BLOCK_ON_PAUSE 108 android_egl_context_backup();
#define SDL_GL_CreateContext
GLint GLenum GLsizei GLsizei GLsizei GLint GLsizei const GLvoid * data
SDL_sem * Android_PauseSem
void * SDL_GLContext
An opaque handle to an OpenGL context.
SDL_Window * Android_Window
void Android_PumpEvents(_THIS)
#define SDL_GL_GetCurrentContext
void ANDROIDAUDIO_ResumeDevices(void)
#define SDL_GL_MakeCurrent
SDL_sem * Android_ResumeSem
void ANDROIDAUDIO_PauseDevices(void)