From 50b120927ddcf26c83b219ebe9351b143efebfad Mon Sep 17 00:00:00 2001 From: Simon Ser Date: Sat, 9 Jan 2021 11:44:28 +0100 Subject: render/egl: remove wlr_egl_swap_buffers --- include/wlr/render/egl.h | 6 ------ 1 file changed, 6 deletions(-) (limited to 'include/wlr/render') diff --git a/include/wlr/render/egl.h b/include/wlr/render/egl.h index 3fa47cc9..67f32e42 100644 --- a/include/wlr/render/egl.h +++ b/include/wlr/render/egl.h @@ -37,7 +37,6 @@ struct wlr_egl_context { }; struct wlr_egl { - EGLenum platform; EGLDisplay display; EGLConfig config; // may be EGL_NO_CONFIG EGLContext context; @@ -51,7 +50,6 @@ struct wlr_egl { bool image_dma_buf_export_mesa; bool image_dmabuf_import_ext; bool image_dmabuf_import_modifiers_ext; - bool swap_buffers_with_damage; // Device extensions bool device_drm_ext; @@ -65,7 +63,6 @@ struct wlr_egl { PFNEGLQUERYWAYLANDBUFFERWL eglQueryWaylandBufferWL; PFNEGLBINDWAYLANDDISPLAYWL eglBindWaylandDisplayWL; PFNEGLUNBINDWAYLANDDISPLAYWL eglUnbindWaylandDisplayWL; - PFNEGLSWAPBUFFERSWITHDAMAGEKHRPROC eglSwapBuffersWithDamage; // KHR or EXT PFNEGLQUERYDMABUFFORMATSEXTPROC eglQueryDmaBufFormatsEXT; PFNEGLQUERYDMABUFMODIFIERSEXTPROC eglQueryDmaBufModifiersEXT; PFNEGLEXPORTDMABUFIMAGEQUERYMESAPROC eglExportDMABUFImageQueryMESA; @@ -170,9 +167,6 @@ void wlr_egl_save_context(struct wlr_egl_context *context); */ bool wlr_egl_restore_context(struct wlr_egl_context *context); -bool wlr_egl_swap_buffers(struct wlr_egl *egl, EGLSurface surface, - pixman_region32_t *damage); - bool wlr_egl_destroy_surface(struct wlr_egl *egl, EGLSurface surface); int wlr_egl_dup_drm_fd(struct wlr_egl *egl); -- cgit v1.2.3