aboutsummaryrefslogtreecommitdiff
path: root/include/wlr
diff options
context:
space:
mode:
authoremersion <contact@emersion.fr>2018-04-20 23:58:30 +0100
committeremersion <contact@emersion.fr>2018-04-20 23:58:30 +0100
commit70d820be252ed530dd456b0d4c3fc84a3377f8c8 (patch)
tree47b9c0d6e3f9699bb56a94a7790159ab74b17298 /include/wlr
parentc18afd6731270cf3243586989416bc2168d7588f (diff)
Add wlr_renderer_init_wl_shm to advertize supported renderer formats
Diffstat (limited to 'include/wlr')
-rw-r--r--include/wlr/render/wlr_renderer.h2
1 files changed, 2 insertions, 0 deletions
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.
*/