Lines Matching refs:egl_display
255 EGLDisplay egl_display; in xwl_glamor_egl_device_has_egl_extensions() local
259 egl_display = glamor_egl_get_display(EGL_PLATFORM_DEVICE_EXT, device); in xwl_glamor_egl_device_has_egl_extensions()
260 if (!egl_display || !eglInitialize(egl_display, NULL, NULL)) in xwl_glamor_egl_device_has_egl_extensions()
264 if (!epoxy_has_egl_extension(egl_display, ext_list[i])) { in xwl_glamor_egl_device_has_egl_extensions()
270 eglTerminate(egl_display); in xwl_glamor_egl_device_has_egl_extensions()
289 eglMakeCurrent(xwl_screen->egl_display, in xwl_eglstream_unref_pixmap_stream()
295 eglDestroySurface(xwl_screen->egl_display, xwl_pixmap->surface); in xwl_eglstream_unref_pixmap_stream()
297 eglDestroyStreamKHR(xwl_screen->egl_display, xwl_pixmap->stream); in xwl_eglstream_unref_pixmap_stream()
424 xwl_screen->egl_display, xwl_eglstream->config, in xwl_eglstream_consumer_ready_callback()
505 xwl_pixmap->stream = eglCreateStreamKHR(xwl_screen->egl_display, NULL); in xwl_eglstream_create_pending_stream()
506 stream_fd = eglGetStreamFileDescriptorKHR(xwl_screen->egl_display, in xwl_eglstream_create_pending_stream()
587 eglMakeCurrent(xwl_screen->egl_display, in xwl_glamor_eglstream_post_damage()
609 eglSwapBuffersWithDamageKHR(xwl_screen->egl_display, in xwl_glamor_eglstream_post_damage()
612 eglSwapBuffers(xwl_screen->egl_display, xwl_pixmap->surface); in xwl_glamor_eglstream_post_damage()
790 xwl_screen->egl_display = glamor_egl_get_display( in xwl_glamor_eglstream_init_egl()
792 if (!xwl_screen->egl_display) in xwl_glamor_eglstream_init_egl()
795 if (!eglInitialize(xwl_screen->egl_display, NULL, NULL)) { in xwl_glamor_eglstream_init_egl()
796 xwl_screen->egl_display = NULL; in xwl_glamor_eglstream_init_egl()
800 if (!epoxy_has_egl_extension(xwl_screen->egl_display, in xwl_glamor_eglstream_init_egl()
806 eglChooseConfig(xwl_screen->egl_display, config_attribs, &config, 1, &n); in xwl_glamor_eglstream_init_egl()
820 xwl_screen->egl_display, config, EGL_NO_CONTEXT, attrib_list); in xwl_glamor_eglstream_init_egl()
826 if (!eglMakeCurrent(xwl_screen->egl_display, in xwl_glamor_eglstream_init_egl()
834 epoxy_has_egl_extension(xwl_screen->egl_display, in xwl_glamor_eglstream_init_egl()