From 70d820be252ed530dd456b0d4c3fc84a3377f8c8 Mon Sep 17 00:00:00 2001 From: emersion Date: Fri, 20 Apr 2018 23:58:30 +0100 Subject: Add wlr_renderer_init_wl_shm to advertize supported renderer formats --- include/wlr/render/wlr_renderer.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include/wlr') diff --git a/include/wlr/render/wlr_renderer.h b/include/wlr/render/wlr_renderer.h index 9ead7d81..eb365762 100644 --- a/include/wlr/render/wlr_renderer.h +++ b/include/wlr/render/wlr_renderer.h @@ -92,6 +92,8 @@ bool wlr_renderer_read_pixels(struct wlr_renderer *r, enum wl_shm_format fmt, */ bool wlr_renderer_format_supported(struct wlr_renderer *r, enum wl_shm_format fmt); +void wlr_renderer_init_wl_shm(struct wlr_renderer *r, + struct wl_display *display); /** * Destroys this wlr_renderer. Textures must be destroyed separately. */ -- cgit v1.2.3