Lines Matching refs:egl_surface
94 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()
3286 go->egl_surface = surface; in gl_renderer_output_create()
3307 EGLSurface egl_surface = EGL_NO_SURFACE; in gl_renderer_output_window_create() local
3310 egl_surface = gl_renderer_create_window_surface(gr, in gl_renderer_output_window_create()
3315 if (egl_surface == EGL_NO_SURFACE) { in gl_renderer_output_window_create()
3320 ret = gl_renderer_output_create(output, egl_surface); in gl_renderer_output_window_create()
3322 weston_platform_destroy_egl_surface(gr->egl_display, egl_surface); in gl_renderer_output_window_create()
3333 EGLSurface egl_surface; in gl_renderer_output_pbuffer_create() local
3351 egl_surface = eglCreatePbufferSurface(gr->egl_display, pbuffer_config, in gl_renderer_output_pbuffer_create()
3353 if (egl_surface == EGL_NO_SURFACE) { in gl_renderer_output_pbuffer_create()
3359 ret = gl_renderer_output_create(output, egl_surface); in gl_renderer_output_pbuffer_create()
3361 eglDestroySurface(gr->egl_display, egl_surface); in gl_renderer_output_pbuffer_create()
3454 weston_platform_destroy_egl_surface(gr->egl_display, go->egl_surface); in gl_renderer_output_destroy()
3822 gl_renderer_setup(struct weston_compositor *ec, EGLSurface egl_surface) in gl_renderer_setup() argument