Home
last modified time | relevance | path

Searched refs:egl_surface (Results 1 – 25 of 32) sorted by relevance

12

/AliOS-Things-master/components/SDL2/src/video/offscreen/
A DSDL_offscreenopengl.c35 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 DSDL_offscreenwindow.c58 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 DSDL_offscreenwindow.h32 EGLSurface egl_surface; member
/AliOS-Things-master/components/SDL2/src/video/
A DSDL_egl_c.h124 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 DSDL_egl.c834 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 DSDL_androidgl.c43 … 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 DSDL_androidwindow.c85 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 DSDL_androidwindow.h40 EGLSurface egl_surface; member
/AliOS-Things-master/components/SDL2/src/video/wayland/
A DSDL_waylandopengles.c56 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 DSDL_waylandwindow.h64 EGLSurface egl_surface; member
/AliOS-Things-master/components/SDL2/src/video/windows/
A DSDL_windowsopengles.c88 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 DSDL_emscriptenvideo.c258 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 DSDL_emscriptenvideo.h38 EGLSurface egl_surface; member
A DSDL_emscriptenopengles.c91 … 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 DSDL_vivantevideo.c302 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 DSDL_vivantevideo.h62 EGLSurface egl_surface; member
/AliOS-Things-master/components/SDL2/src/video/raspberry/
A DSDL_rpivideo.c329 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 DSDL_rpiopengles.c49 if (!(_this->egl_data->eglSwapBuffers(_this->egl_data->egl_display, wdata->egl_surface))) { in RPI_GLES_SwapWindow()
A DSDL_rpivideo.h49 EGLSurface egl_surface; member
/AliOS-Things-master/components/SDL2/src/video/cocoa/
A DSDL_cocoaopengles.m88 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 DSDL_kmsdrmopengles.c100 … 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 DSDL_kmsdrmvideo.c381 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 DSDL_winrtvideo.cpp597 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 DSDL_winrtvideo_cpp.h99 EGLSurface egl_surface; member
/AliOS-Things-master/components/SDL2/src/video/x11/
A DSDL_x11opengles.c100 context = SDL_EGL_CreateContext(_this, data->egl_surface); in X11_GLES_CreateContext()

Completed in 21 milliseconds

12