diff options
author | Simon Ser <contact@emersion.fr> | 2021-07-22 19:47:51 +0200 |
---|---|---|
committer | Simon Zeni <simon@bl4ckb0ne.ca> | 2021-07-22 14:10:26 -0400 |
commit | 2fa47c1837ef54642ce646bc14ef2b8ef1f37e8d (patch) | |
tree | 874feb73811a450ab068a1c3a0e462dfc440e74c /include/wlr/render/interface.h | |
parent | 70fb21c35ba432bec86b61ef6e938d65629fde31 (diff) |
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.
Diffstat (limited to 'include/wlr/render/interface.h')
-rw-r--r-- | include/wlr/render/interface.h | 2 |
1 files changed, 0 insertions, 2 deletions
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, |