aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/render/egl.h14
-rw-r--r--include/wlr/render/egl.h5
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;
};