From 2fa47c1837ef54642ce646bc14ef2b8ef1f37e8d Mon Sep 17 00:00:00 2001 From: Simon Ser Date: Thu, 22 Jul 2021 19:47:51 +0200 Subject: render: drop wlr_renderer_impl.init_wl_display Now that we have our own wl_drm implementation, there's no reason to provide custom renderer hooks to init a wl_display in the interface. We can just initialize the wl_display generically, depending on the renderer capabilities. --- include/wlr/render/interface.h | 2 -- 1 file changed, 2 deletions(-) (limited to 'include') diff --git a/include/wlr/render/interface.h b/include/wlr/render/interface.h index b3a21b0b..4207bd30 100644 --- a/include/wlr/render/interface.h +++ b/include/wlr/render/interface.h @@ -44,8 +44,6 @@ struct wlr_renderer_impl { uint32_t src_x, uint32_t src_y, uint32_t dst_x, uint32_t dst_y, void *data); void (*destroy)(struct wlr_renderer *renderer); - bool (*init_wl_display)(struct wlr_renderer *renderer, - struct wl_display *wl_display); int (*get_drm_fd)(struct wlr_renderer *renderer); uint32_t (*get_render_buffer_caps)(struct wlr_renderer *renderer); struct wlr_texture *(*texture_from_buffer)(struct wlr_renderer *renderer, -- cgit v1.2.3