diff options
author | Brandon Dowdy <berylline@users.noreply.github.com> | 2021-01-28 23:24:52 +0000 |
---|---|---|
committer | Simon Ser <contact@emersion.fr> | 2021-01-29 10:03:24 +0100 |
commit | 705b3da7cb469c661a3dd43212b1baf6fe615ec9 (patch) | |
tree | 05f8ae383cdfa1b0d49a07182b30f9a325933b3e /include/wlr/render/egl.h | |
parent | 34e7f69d6942bd37361f27c5894edc9f522d49e1 (diff) |
render/egl: remove wlr_egl_{create,destroy}_surface
Breaking changes:
wlr_egl_create_surface and wlr_egl_destroy_surface have been
removed and no longer exist.
Diffstat (limited to 'include/wlr/render/egl.h')
-rw-r--r-- | include/wlr/render/egl.h | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/include/wlr/render/egl.h b/include/wlr/render/egl.h index 82aa9505..ae155579 100644 --- a/include/wlr/render/egl.h +++ b/include/wlr/render/egl.h @@ -57,7 +57,6 @@ struct wlr_egl { struct { PFNEGLGETPLATFORMDISPLAYEXTPROC eglGetPlatformDisplayEXT; - PFNEGLCREATEPLATFORMWINDOWSURFACEEXTPROC eglCreatePlatformWindowSurfaceEXT; PFNEGLCREATEIMAGEKHRPROC eglCreateImageKHR; PFNEGLDESTROYIMAGEKHRPROC eglDestroyImageKHR; PFNEGLQUERYWAYLANDBUFFERWL eglQueryWaylandBufferWL; @@ -101,12 +100,6 @@ void wlr_egl_destroy(struct wlr_egl *egl); bool wlr_egl_bind_display(struct wlr_egl *egl, struct wl_display *local_display); /** - * Returns a surface for the given native window - * The window must match the remote display the wlr_egl was created with. - */ -EGLSurface wlr_egl_create_surface(struct wlr_egl *egl, void *window); - -/** * Creates an EGL image from the given wl_drm buffer resource. */ EGLImageKHR wlr_egl_create_image_from_wl_drm(struct wlr_egl *egl, @@ -164,8 +157,6 @@ void wlr_egl_save_context(struct wlr_egl_context *context); */ bool wlr_egl_restore_context(struct wlr_egl_context *context); -bool wlr_egl_destroy_surface(struct wlr_egl *egl, EGLSurface surface); - int wlr_egl_dup_drm_fd(struct wlr_egl *egl); #endif |