/AliOS-Things-master/components/SDL2/src/video/offscreen/ |
A D | SDL_offscreenopengl.c | 35 SDL_EGL_SwapBuffers(_this, offscreen_wind->egl_surface); in OFFSCREEN_GL_SwapWindow() 43 EGLSurface egl_surface = ((OFFSCREEN_Window*)window->driverdata)->egl_surface; in OFFSCREEN_GL_MakeCurrent() local 44 return SDL_EGL_MakeCurrent(_this, egl_surface, context); in OFFSCREEN_GL_MakeCurrent() 56 context = SDL_EGL_CreateContext(_this, offscreen_window->egl_surface); in OFFSCREEN_GL_CreateContext()
|
A D | SDL_offscreenwindow.c | 58 offscreen_window->egl_surface = SDL_EGL_CreateOffscreenSurface(_this, window->w, window->h); in OFFSCREEN_CreateWindow() 60 if (offscreen_window->egl_surface == EGL_NO_SURFACE) { in OFFSCREEN_CreateWindow() 66 offscreen_window->egl_surface = EGL_NO_SURFACE; in OFFSCREEN_CreateWindow() 78 SDL_EGL_DestroySurface(_this, offscreen_window->egl_surface); in OFFSCREEN_DestroyWindow()
|
A D | SDL_offscreenwindow.h | 32 EGLSurface egl_surface; member
|
/AliOS-Things-master/components/SDL2/src/video/ |
A D | SDL_egl_c.h | 124 extern void SDL_EGL_DestroySurface(_THIS, EGLSurface egl_surface); 131 extern SDL_GLContext SDL_EGL_CreateContext(_THIS, EGLSurface egl_surface); 132 extern int SDL_EGL_MakeCurrent(_THIS, EGLSurface egl_surface, SDL_GLContext context); 133 extern int SDL_EGL_SwapBuffers(_THIS, EGLSurface egl_surface); 144 return SDL_EGL_SwapBuffers(_this, ((SDL_WindowData *) window->driverdata)->egl_surface);\ 150 …return SDL_EGL_MakeCurrent(_this, window ? ((SDL_WindowData *) window->driverdata)->egl_surface : … 156 return SDL_EGL_CreateContext(_this, ((SDL_WindowData *) window->driverdata)->egl_surface);\
|
A D | SDL_egl.c | 834 SDL_EGL_CreateContext(_THIS, EGLSurface egl_surface) in SDL_EGL_CreateContext() argument 950 if (SDL_EGL_MakeCurrent(_this, egl_surface, egl_context) < 0) { in SDL_EGL_CreateContext() 998 SDL_EGL_MakeCurrent(_THIS, EGLSurface egl_surface, SDL_GLContext context) in SDL_EGL_MakeCurrent() argument 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() 1051 SDL_EGL_SwapBuffers(_THIS, EGLSurface egl_surface) in SDL_EGL_SwapBuffers() argument 1053 if (!_this->egl_data->eglSwapBuffers(_this->egl_data->egl_display, egl_surface)) { in SDL_EGL_SwapBuffers() 1150 SDL_EGL_DestroySurface(_THIS, EGLSurface egl_surface) in SDL_EGL_DestroySurface() argument 1156 if (egl_surface != EGL_NO_SURFACE) { in SDL_EGL_DestroySurface() 1157 _this->egl_data->eglDestroySurface(_this->egl_data->egl_display, egl_surface); in SDL_EGL_DestroySurface()
|
/AliOS-Things-master/components/SDL2/src/video/android/ |
A D | SDL_androidgl.c | 43 … return SDL_EGL_MakeCurrent(_this, ((SDL_WindowData *) window->driverdata)->egl_surface, context); in Android_GLES_MakeCurrent() 56 ret = SDL_EGL_CreateContext(_this, ((SDL_WindowData *) window->driverdata)->egl_surface); in Android_GLES_CreateContext() 77 retval = SDL_EGL_SwapBuffers(_this, ((SDL_WindowData *) window->driverdata)->egl_surface); in Android_GLES_SwapWindow()
|
A D | SDL_androidwindow.c | 85 data->egl_surface = SDL_EGL_CreateSurface(_this, (NativeWindowType) data->native_window); in Android_CreateWindow() 87 if (data->egl_surface == EGL_NO_SURFACE) { in Android_CreateWindow() 178 if (data->egl_surface != EGL_NO_SURFACE) { in Android_DestroyWindow() 179 SDL_EGL_DestroySurface(_this, data->egl_surface); in Android_DestroyWindow() 201 info->info.android.surface = data->egl_surface; in Android_GetWindowWMInfo()
|
A D | SDL_androidwindow.h | 40 EGLSurface egl_surface; member
|
/AliOS-Things-master/components/SDL2/src/video/wayland/ |
A D | SDL_waylandopengles.c | 56 context = SDL_EGL_CreateContext(_this, ((SDL_WindowData *) window->driverdata)->egl_surface); in Wayland_GLES_CreateContext() 67 if (SDL_EGL_SwapBuffers(_this, data->egl_surface) < 0) { in Wayland_GLES_SwapWindow() 85 … ret = SDL_EGL_MakeCurrent(_this, ((SDL_WindowData *) window->driverdata)->egl_surface, context); in Wayland_GLES_MakeCurrent()
|
A D | SDL_waylandwindow.h | 64 EGLSurface egl_surface; member
|
/AliOS-Things-master/components/SDL2/src/video/windows/ |
A D | SDL_windowsopengles.c | 88 context = SDL_EGL_CreateContext(_this, data->egl_surface); in WIN_GLES_CreateContext() 119 windowdata->egl_surface = SDL_EGL_CreateSurface(_this, (NativeWindowType)windowdata->hwnd); in SDL_EGL_MakeCurrent_impl() 121 if (windowdata->egl_surface == EGL_NO_SURFACE) { in SDL_EGL_MakeCurrent_impl()
|
/AliOS-Things-master/components/SDL2/src/video/emscripten/ |
A D | SDL_emscriptenvideo.c | 258 wdata->egl_surface = SDL_EGL_CreateSurface(_this, 0); in Emscripten_CreateWindow() 260 if (wdata->egl_surface == EGL_NO_SURFACE) { in Emscripten_CreateWindow() 310 if (data->egl_surface != EGL_NO_SURFACE) { in Emscripten_DestroyWindow() 311 SDL_EGL_DestroySurface(_this, data->egl_surface); in Emscripten_DestroyWindow() 312 data->egl_surface = EGL_NO_SURFACE; in Emscripten_DestroyWindow()
|
A D | SDL_emscriptenvideo.h | 38 EGLSurface egl_surface; member
|
A D | SDL_emscriptenopengles.c | 91 … EGLBoolean ret = SDL_EGL_SwapBuffers(_this, ((SDL_WindowData *) window->driverdata)->egl_surface); in SDL_EGL_MakeCurrent_impl()
|
/AliOS-Things-master/components/SDL2/src/video/vivante/ |
A D | SDL_vivantevideo.c | 302 data->egl_surface = SDL_EGL_CreateSurface(_this, data->native_window); in VIVANTE_CreateWindow() 303 if (data->egl_surface == EGL_NO_SURFACE) { in VIVANTE_CreateWindow() 307 data->egl_surface = EGL_NO_SURFACE; in VIVANTE_CreateWindow() 324 if (data->egl_surface != EGL_NO_SURFACE) { in VIVANTE_DestroyWindow() 325 SDL_EGL_DestroySurface(_this, data->egl_surface); in VIVANTE_DestroyWindow()
|
A D | SDL_vivantevideo.h | 62 EGLSurface egl_surface; member
|
/AliOS-Things-master/components/SDL2/src/video/raspberry/ |
A D | SDL_rpivideo.c | 329 wdata->egl_surface = SDL_EGL_CreateSurface(_this, (NativeWindowType) &wdata->dispman_window); in RPI_CreateWindow() 331 if (wdata->egl_surface == EGL_NO_SURFACE) { in RPI_CreateWindow() 376 if (data->egl_surface != EGL_NO_SURFACE) { in RPI_DestroyWindow() 377 SDL_EGL_DestroySurface(_this, data->egl_surface); in RPI_DestroyWindow()
|
A D | SDL_rpiopengles.c | 49 if (!(_this->egl_data->eglSwapBuffers(_this->egl_data->egl_display, wdata->egl_surface))) { in RPI_GLES_SwapWindow()
|
A D | SDL_rpivideo.h | 49 EGLSurface egl_surface; member
|
/AliOS-Things-master/components/SDL2/src/video/cocoa/ |
A D | SDL_cocoaopengles.m | 88 context = SDL_EGL_CreateContext(_this, data->egl_surface); 120 windowdata->egl_surface = SDL_EGL_CreateSurface(_this, (NativeWindowType)[v layer]); 122 if (windowdata->egl_surface == EGL_NO_SURFACE) {
|
/AliOS-Things-master/components/SDL2/src/video/kmsdrm/ |
A D | SDL_kmsdrmopengles.c | 100 … if (!(_this->egl_data->eglSwapBuffers(_this->egl_data->egl_display, windata->egl_surface))) { in KMSDRM_GLES_SwapWindow() 187 … if (!(_this->egl_data->eglSwapBuffers(_this->egl_data->egl_display, windata->egl_surface))) { in KMSDRM_GLES_SwapWindow()
|
A D | SDL_kmsdrmvideo.c | 381 if (windata->egl_surface != EGL_NO_SURFACE) { in KMSDRM_DestroySurfaces() 382 SDL_EGL_DestroySurface(_this, windata->egl_surface); in KMSDRM_DestroySurfaces() 383 windata->egl_surface = EGL_NO_SURFACE; in KMSDRM_DestroySurfaces() 425 windata->egl_surface = SDL_EGL_CreateSurface(_this, (NativeWindowType)windata->gs); in KMSDRM_CreateSurfaces() 427 if (windata->egl_surface == EGL_NO_SURFACE) { in KMSDRM_CreateSurfaces() 431 SDL_EGL_MakeCurrent(_this, windata->egl_surface, egl_context); in KMSDRM_CreateSurfaces()
|
/AliOS-Things-master/components/SDL2/src/video/winrt/ |
A D | SDL_winrtvideo.cpp | 597 data->egl_surface = EGL_NO_SURFACE; in WINRT_CreateWindow() 618 …data->egl_surface = ((eglCreateWindowSurface_Old_Function)_this->egl_data->eglCreateWindowSurface)( in WINRT_CreateWindow() 622 if (data->egl_surface == NULL) { in WINRT_CreateWindow() 630 data->egl_surface = _this->egl_data->eglCreateWindowSurface( in WINRT_CreateWindow() 635 if (data->egl_surface == NULL) { in WINRT_CreateWindow() 650 if (data->egl_surface) { in WINRT_CreateWindow()
|
A D | SDL_winrtvideo_cpp.h | 99 EGLSurface egl_surface; member
|
/AliOS-Things-master/components/SDL2/src/video/x11/ |
A D | SDL_x11opengles.c | 100 context = SDL_EGL_CreateContext(_this, data->egl_surface); in X11_GLES_CreateContext()
|