diff options
author | Simon Ser <contact@emersion.fr> | 2021-02-02 23:39:22 +0100 |
---|---|---|
committer | Simon Zeni <simon@bl4ckb0ne.ca> | 2021-07-05 11:13:41 -0400 |
commit | 8a4957570f2d546cad033371db0c2463459536ce (patch) | |
tree | 5d9df5c94be6379ae6c54e3335a678146e62460b /include | |
parent | e5b5592a95e3f12afc90cc9fcf5adc3664bf79a3 (diff) |
render/egl: remove EGL_WL_bind_wayland_display support
Our GLES2 renderer doesn't use it anymore, so we can drop it.
Diffstat (limited to 'include')
-rw-r--r-- | include/render/egl.h | 14 | ||||
-rw-r--r-- | include/wlr/render/egl.h | 5 |
2 files changed, 0 insertions, 19 deletions
diff --git a/include/render/egl.h b/include/render/egl.h index 191293bf..55e9ce80 100644 --- a/include/render/egl.h +++ b/include/render/egl.h @@ -24,20 +24,6 @@ struct wlr_egl *wlr_egl_create_with_drm_fd(int drm_fd); void wlr_egl_destroy(struct wlr_egl *egl); /** - * Binds the given display to the EGL instance. - * This will allow clients to create EGL surfaces from wayland ones and render - * to it. - */ -bool wlr_egl_bind_display(struct wlr_egl *egl, struct wl_display *local_display); - -/** - * Creates an EGL image from the given wl_drm buffer resource. - */ -EGLImageKHR wlr_egl_create_image_from_wl_drm(struct wlr_egl *egl, - struct wl_resource *data, EGLint *fmt, int *width, int *height, - bool *inverted_y); - -/** * Creates an EGL image from the given dmabuf attributes. Check usability * of the dmabuf with wlr_egl_check_import_dmabuf once first. */ diff --git a/include/wlr/render/egl.h b/include/wlr/render/egl.h index 553bace7..c92364f5 100644 --- a/include/wlr/render/egl.h +++ b/include/wlr/render/egl.h @@ -37,7 +37,6 @@ struct wlr_egl { struct { // Display extensions - bool bind_wayland_display_wl; bool image_base_khr; bool image_dmabuf_import_ext; bool image_dmabuf_import_modifiers_ext; @@ -51,8 +50,6 @@ struct wlr_egl { PFNEGLCREATEIMAGEKHRPROC eglCreateImageKHR; PFNEGLDESTROYIMAGEKHRPROC eglDestroyImageKHR; PFNEGLQUERYWAYLANDBUFFERWL eglQueryWaylandBufferWL; - PFNEGLBINDWAYLANDDISPLAYWL eglBindWaylandDisplayWL; - PFNEGLUNBINDWAYLANDDISPLAYWL eglUnbindWaylandDisplayWL; PFNEGLQUERYDMABUFFORMATSEXTPROC eglQueryDmaBufFormatsEXT; PFNEGLQUERYDMABUFMODIFIERSEXTPROC eglQueryDmaBufModifiersEXT; PFNEGLDEBUGMESSAGECONTROLKHRPROC eglDebugMessageControlKHR; @@ -60,8 +57,6 @@ struct wlr_egl { PFNEGLQUERYDEVICESTRINGEXTPROC eglQueryDeviceStringEXT; } procs; - struct wl_display *wl_display; - struct wlr_drm_format_set dmabuf_texture_formats; struct wlr_drm_format_set dmabuf_render_formats; }; |