Searched refs:egl_context (Results 1 – 4 of 4) sorted by relevance
/AliOS-Things-master/components/SDL2/src/video/android/ |
A D | SDL_androidevents.c | 64 if (SDL_GL_MakeCurrent(window, (SDL_GLContext) data->egl_context) < 0) { in android_egl_context_restore() 66 data->egl_context = (EGLContext) SDL_GL_CreateContext(window); in android_egl_context_restore() 67 SDL_GL_MakeCurrent(window, (SDL_GLContext) data->egl_context); in android_egl_context_restore() 81 data->egl_context = SDL_GL_GetCurrentContext(); in android_egl_context_backup()
|
A D | SDL_androidwindow.h | 41 EGLContext egl_context; /* We use this to preserve the context when losing focus */ member
|
/AliOS-Things-master/components/SDL2/src/video/ |
A D | SDL_egl.c | 840 EGLContext egl_context, share_context = EGL_NO_CONTEXT; in SDL_EGL_CreateContext() local 939 egl_context = _this->egl_data->eglCreateContext(_this->egl_data->egl_display, in SDL_EGL_CreateContext() 943 if (egl_context == EGL_NO_CONTEXT) { in SDL_EGL_CreateContext() 950 if (SDL_EGL_MakeCurrent(_this, egl_surface, egl_context) < 0) { in SDL_EGL_CreateContext() 956 SDL_EGL_DeleteContext(_this, egl_context); in SDL_EGL_CreateContext() 994 return (SDL_GLContext) egl_context; in SDL_EGL_CreateContext() 1000 EGLContext egl_context = (EGLContext) context; in SDL_EGL_MakeCurrent() local 1009 if (!egl_context || (!egl_surface && !_this->gl_allow_no_surface)) { in SDL_EGL_MakeCurrent() 1013 egl_surface, egl_surface, egl_context)) { in SDL_EGL_MakeCurrent() 1062 EGLContext egl_context = (EGLContext) context; in SDL_EGL_DeleteContext() local [all …]
|
/AliOS-Things-master/components/SDL2/src/video/kmsdrm/ |
A D | SDL_kmsdrmvideo.c | 404 EGLContext egl_context; in KMSDRM_CreateSurfaces() local 413 egl_context = (EGLContext)SDL_GL_GetCurrentContext(); in KMSDRM_CreateSurfaces() 431 SDL_EGL_MakeCurrent(_this, windata->egl_surface, egl_context); in KMSDRM_CreateSurfaces()
|
Completed in 7 milliseconds