aboutsummaryrefslogtreecommitdiff
path: root/include/wlr/render/interface.h
diff options
context:
space:
mode:
authoremersion <contact@emersion.fr>2018-05-25 13:54:16 +0100
committerGitHub <noreply@github.com>2018-05-25 13:54:16 +0100
commit6eb4b5b54d8640115764401822787c6e9c88697c (patch)
treec57602b7f8e910f974805f980629e2747a53f90b /include/wlr/render/interface.h
parent35b31dcfb7f54c08301c4eb352325bb852b1bece (diff)
parent41130fe54bfed6c3a5171bbc225143c32cbefc70 (diff)
Merge pull request #993 from emersion/bind-wl-drm-in-renderer
render: bind wl_drm in renderer
Diffstat (limited to 'include/wlr/render/interface.h')
-rw-r--r--include/wlr/render/interface.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/wlr/render/interface.h b/include/wlr/render/interface.h
index e7cdce0a..2267d376 100644
--- a/include/wlr/render/interface.h
+++ b/include/wlr/render/interface.h
@@ -49,6 +49,8 @@ struct wlr_renderer_impl {
struct wlr_texture *(*texture_from_dmabuf)(struct wlr_renderer *renderer,
struct wlr_dmabuf_buffer_attribs *attribs);
void (*destroy)(struct wlr_renderer *renderer);
+ void (*init_wl_display)(struct wlr_renderer *renderer,
+ struct wl_display *wl_display);
};
void wlr_renderer_init(struct wlr_renderer *renderer,