Home
last modified time | relevance | path

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

12

/third_party/flutter/skia/third_party/externals/sdl/src/video/mir/
DSDL_miropengl.c39 SDL_EGL_SwapBuffers(_this, mir_wind->egl_surface); in MIR_GL_SwapWindow()
46 EGLSurface egl_surface = ((MIR_Window*)window->driverdata)->egl_surface; in MIR_GL_MakeCurrent() local
47 return SDL_EGL_MakeCurrent(_this, egl_surface, context); in MIR_GL_MakeCurrent()
59 context = SDL_EGL_CreateContext(_this, mir_window->egl_surface); in MIR_GL_CreateContext()
DSDL_mirwindow.c146 mir_window->egl_surface = SDL_EGL_CreateSurface(_this, egl_native_window); in MIR_CreateWindow()
148 if (mir_window->egl_surface == EGL_NO_SURFACE) { in MIR_CreateWindow()
154 mir_window->egl_surface = EGL_NO_SURFACE; in MIR_CreateWindow()
169 SDL_EGL_DestroySurface(_this, mir_window->egl_surface); in MIR_DestroyWindow()
/third_party/flutter/skia/third_party/externals/sdl/src/video/
DSDL_egl_c.h94 extern void SDL_EGL_DestroySurface(_THIS, EGLSurface egl_surface);
97 extern SDL_GLContext SDL_EGL_CreateContext(_THIS, EGLSurface egl_surface);
98 extern int SDL_EGL_MakeCurrent(_THIS, EGLSurface egl_surface, SDL_GLContext context);
99 extern void SDL_EGL_SwapBuffers(_THIS, EGLSurface egl_surface);
106 SDL_EGL_SwapBuffers(_this, ((SDL_WindowData *) window->driverdata)->egl_surface);\
113 …return SDL_EGL_MakeCurrent(_this, ((SDL_WindowData *) window->driverdata)->egl_surface, context); \
123 return SDL_EGL_CreateContext(_this, ((SDL_WindowData *) window->driverdata)->egl_surface);\
DSDL_egl.c421 SDL_EGL_CreateContext(_THIS, EGLSurface egl_surface) in SDL_EGL_CreateContext() argument
506 if (SDL_EGL_MakeCurrent(_this, egl_surface, egl_context) < 0) { in SDL_EGL_CreateContext()
516 SDL_EGL_MakeCurrent(_THIS, EGLSurface egl_surface, SDL_GLContext context) in SDL_EGL_MakeCurrent() argument
527 if (!egl_context || !egl_surface) { in SDL_EGL_MakeCurrent()
531 egl_surface, egl_surface, egl_context)) { in SDL_EGL_MakeCurrent()
569 SDL_EGL_SwapBuffers(_THIS, EGLSurface egl_surface) in SDL_EGL_SwapBuffers() argument
571 _this->egl_data->eglSwapBuffers(_this->egl_data->egl_display, egl_surface); in SDL_EGL_SwapBuffers()
619 SDL_EGL_DestroySurface(_THIS, EGLSurface egl_surface) in SDL_EGL_DestroySurface() argument
625 if (egl_surface != EGL_NO_SURFACE) { in SDL_EGL_DestroySurface()
626 _this->egl_data->eglDestroySurface(_this->egl_data->egl_display, egl_surface); in SDL_EGL_DestroySurface()
/third_party/flutter/skia/third_party/externals/sdl/src/video/android/
DSDL_androidwindow.c73 data->egl_surface = SDL_EGL_CreateSurface(_this, (NativeWindowType) data->native_window); in Android_CreateWindow()
75 if (data->egl_surface == EGL_NO_SURFACE) { in Android_CreateWindow()
107 if (data->egl_surface != EGL_NO_SURFACE) { in Android_DestroyWindow()
108 SDL_EGL_DestroySurface(_this, data->egl_surface); in Android_DestroyWindow()
128 info->info.android.surface = data->egl_surface; in Android_GetWindowWMInfo()
DSDL_androidgl.c51 SDL_EGL_SwapBuffers(_this, ((SDL_WindowData *) window->driverdata)->egl_surface); in SDL_EGL_MakeCurrent_impl()
DSDL_androidwindow.h36 EGLSurface egl_surface; member
/third_party/flutter/skia/third_party/externals/sdl/src/video/wayland/
DSDL_waylandopengles.c51 context = SDL_EGL_CreateContext(_this, ((SDL_WindowData *) window->driverdata)->egl_surface); in Wayland_GLES_CreateContext()
60 SDL_EGL_SwapBuffers(_this, ((SDL_WindowData *) window->driverdata)->egl_surface); in Wayland_GLES_SwapWindow()
71 … ret = SDL_EGL_MakeCurrent(_this, ((SDL_WindowData *) window->driverdata)->egl_surface, context); in Wayland_GLES_MakeCurrent()
DSDL_waylandwindow.c241 data->egl_surface = SDL_EGL_CreateSurface(_this, (NativeWindowType) data->egl_window); in Wayland_CreateWindow()
243 if (data->egl_surface == EGL_NO_SURFACE) { in Wayland_CreateWindow()
306 SDL_EGL_DestroySurface(_this, wind->egl_surface); in Wayland_DestroyWindow()
DSDL_waylandwindow.h41 EGLSurface egl_surface; member
/third_party/weston/clients/
Dnested-client.c50 EGLSurface egl_surface; member
218 eglSwapBuffers(client->egl_display, client->egl_surface); in frame_callback()
314 client->egl_surface = weston_platform_create_egl_surface(client->egl_display, in nested_client_create()
318 eglMakeCurrent(client->egl_display, client->egl_surface, in nested_client_create()
319 client->egl_surface, client->egl_context); in nested_client_create()
337 client->egl_surface); in nested_client_destroy()
Dsubsurfaces.c144 EGLSurface egl_surface; member
410 eglMakeCurrent(tri->egl->dpy, tri->egl_surface, in triangle_frame_callback()
411 tri->egl_surface, tri->egl->ctx); in triangle_frame_callback()
420 eglSwapBuffers(tri->egl->dpy, tri->egl_surface); in triangle_frame_callback()
430 tri->egl_surface = weston_platform_create_egl_surface(tri->egl->dpy, in triangle_create_egl_surface()
434 ret = eglMakeCurrent(tri->egl->dpy, tri->egl_surface, in triangle_create_egl_surface()
435 tri->egl_surface, tri->egl->ctx); in triangle_create_egl_surface()
454 if (tri->egl_surface) { in triangle_resize_handler()
521 if (tri->egl_surface) in triangle_destroy()
523 tri->egl_surface); in triangle_destroy()
Dsimple-egl-hos.c90 EGLSurface egl_surface; member
302 window->egl_surface = in create_surface()
310 ret = eglMakeCurrent(window->display->egl.dpy, window->egl_surface, in create_surface()
311 window->egl_surface, window->display->egl.ctx); in create_surface()
327 window->egl_surface); in destroy_surface()
390 eglQuerySurface(display->egl.dpy, window->egl_surface, in redraw()
430 window->egl_surface, in redraw()
434 eglSwapBuffers(display->egl.dpy, window->egl_surface); in redraw()
Dsimple-egl.c97 EGLSurface egl_surface; member
369 window->egl_surface = in create_surface()
389 ret = eglMakeCurrent(window->display->egl.dpy, window->egl_surface, in create_surface()
390 window->egl_surface, window->display->egl.ctx); in create_surface()
412 window->egl_surface); in destroy_surface()
479 eglQuerySurface(display->egl.dpy, window->egl_surface, in redraw()
519 window->egl_surface, in redraw()
522 eglSwapBuffers(display->egl.dpy, window->egl_surface); in redraw()
/third_party/flutter/skia/third_party/externals/sdl/src/video/emscripten/
DSDL_emscriptenvideo.c237 wdata->egl_surface = SDL_EGL_CreateSurface(_this, 0); in Emscripten_CreateWindow()
239 if (wdata->egl_surface == EGL_NO_SURFACE) { in Emscripten_CreateWindow()
285 if (data->egl_surface != EGL_NO_SURFACE) { in Emscripten_DestroyWindow()
286 SDL_EGL_DestroySurface(_this, data->egl_surface); in Emscripten_DestroyWindow()
287 data->egl_surface = EGL_NO_SURFACE; in Emscripten_DestroyWindow()
DSDL_emscriptenvideo.h36 EGLSurface egl_surface; member
/third_party/flutter/skia/third_party/externals/sdl/src/video/windows/
DSDL_windowsopengles.c89 context = SDL_EGL_CreateContext(_this, data->egl_surface); in WIN_GLES_CreateContext()
120 windowdata->egl_surface = SDL_EGL_CreateSurface(_this, (NativeWindowType)windowdata->hwnd); in SDL_EGL_MakeCurrent_impl()
122 if (windowdata->egl_surface == EGL_NO_SURFACE) { in SDL_EGL_MakeCurrent_impl()
/third_party/gstreamer/gstplugins_base/gst-libs/gst/gl/android/
Dgstglwindow_android_egl.c112 if (context_egl->egl_surface) { in draw_cb()
118 if (eglQuerySurface (context_egl->egl_display, context_egl->egl_surface, in draw_cb()
120 && eglQuerySurface (context_egl->egl_display, context_egl->egl_surface, in draw_cb()
/third_party/flutter/skia/third_party/externals/sdl/src/video/vivante/
DSDL_vivantevideo.c285 data->egl_surface = SDL_EGL_CreateSurface(_this, data->native_window); in VIVANTE_CreateWindow()
286 if (data->egl_surface == EGL_NO_SURFACE) { in VIVANTE_CreateWindow()
290 data->egl_surface = EGL_NO_SURFACE; in VIVANTE_CreateWindow()
305 if (data->egl_surface != EGL_NO_SURFACE) { in VIVANTE_DestroyWindow()
306 SDL_EGL_DestroySurface(_this, data->egl_surface); in VIVANTE_DestroyWindow()
/third_party/gstreamer/gstplugins_base/gst-libs/gst/gl/egl/
Dgstglcontext_egl.c839 if (egl->egl_surface != EGL_NO_SURFACE) { in gst_gl_context_egl_window_handle_changed_cb()
840 if (!eglDestroySurface (egl->egl_display, egl->egl_surface)) in gst_gl_context_egl_window_handle_changed_cb()
843 egl->egl_surface = EGL_NO_SURFACE; in gst_gl_context_egl_window_handle_changed_cb()
1124 egl->egl_surface = in gst_gl_context_egl_create_context()
1143 egl->egl_surface = in gst_gl_context_egl_create_context()
1148 egl->egl_surface = EGL_NO_SURFACE; in gst_gl_context_egl_create_context()
1153 if (egl->egl_surface != EGL_NO_SURFACE) { in gst_gl_context_egl_create_context()
1200 if (egl->egl_surface) { in gst_gl_context_egl_destroy_context()
1201 eglDestroySurface (egl->egl_display, egl->egl_surface); in gst_gl_context_egl_destroy_context()
1202 egl->egl_surface = EGL_NO_SURFACE; in gst_gl_context_egl_destroy_context()
[all …]
/third_party/flutter/skia/third_party/externals/sdl/src/video/raspberry/
DSDL_rpivideo.c284 wdata->egl_surface = SDL_EGL_CreateSurface(_this, (NativeWindowType) &wdata->dispman_window); in RPI_CreateWindow()
286 if (wdata->egl_surface == EGL_NO_SURFACE) { in RPI_CreateWindow()
307 if (data->egl_surface != EGL_NO_SURFACE) { in RPI_DestroyWindow()
308 SDL_EGL_DestroySurface(_this, data->egl_surface); in RPI_DestroyWindow()
/third_party/vk-gl-cts/framework/platform/surfaceless/
DtcuSurfacelessPlatform.cpp278 eglw::EGLSurface egl_surface; in EglRenderContext() local
384 egl_surface = EGL_NO_SURFACE; in EglRenderContext()
388 egl_surface = eglCreatePbufferSurface(m_eglDisplay, egl_config, &surface_attribs[0]); in EglRenderContext()
438 EGLU_CHECK_CALL(m_egl, makeCurrent(m_eglDisplay, egl_surface, egl_surface, m_eglContext)); in EglRenderContext()
/third_party/flutter/skia/third_party/externals/sdl/src/video/winrt/
DSDL_winrtvideo.cpp598 data->egl_surface = EGL_NO_SURFACE; in WINRT_CreateWindow()
619 …data->egl_surface = ((eglCreateWindowSurface_Old_Function)_this->egl_data->eglCreateWindowSurface)( in WINRT_CreateWindow()
623 if (data->egl_surface == NULL) { in WINRT_CreateWindow()
631 data->egl_surface = _this->egl_data->eglCreateWindowSurface( in WINRT_CreateWindow()
636 if (data->egl_surface == NULL) { in WINRT_CreateWindow()
651 if (data->egl_surface) { in WINRT_CreateWindow()
DSDL_winrtvideo_cpp.h99 EGLSurface egl_surface; member
/third_party/weston/libweston/renderer-gl/
Dgl-renderer.c94 EGLSurface egl_surface; member
1273 ret = eglQuerySurface(gr->egl_display, go->egl_surface, in output_get_damage()
1495 gr->set_damage_region(gr->egl_display, go->egl_surface, in gl_renderer_repaint_output()
1528 go->egl_surface, in gl_renderer_repaint_output()
1532 ret = eglSwapBuffers(gr->egl_display, go->egl_surface); in gl_renderer_repaint_output()
3243 gl_renderer_setup(struct weston_compositor *ec, EGLSurface egl_surface);
3252 EGLSurface egl_surface = EGL_NO_SURFACE; in gl_renderer_create_window_surface() local
3263 egl_surface = gr->create_platform_window(gr->egl_display, in gl_renderer_create_window_surface()
3268 egl_surface = eglCreateWindowSurface(gr->egl_display, in gl_renderer_create_window_surface()
3272 return egl_surface; in gl_renderer_create_window_surface()
[all …]

12