diff options
author | Drew DeVault <sir@cmpwn.com> | 2018-04-21 14:45:09 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-04-21 14:45:09 +0200 |
commit | b116414bd5dbc15ec1df3734a4c99c1b5e304982 (patch) | |
tree | 7c7e12385f66b2ce35f8fb74819093525644ff16 /include/wlr/render/wlr_renderer.h | |
parent | 5e16bc96b18bce795795235ddd17ed9bb2f14628 (diff) | |
parent | 70d820be252ed530dd456b0d4c3fc84a3377f8c8 (diff) |
Merge pull request #880 from emersion/advertize-renderer-formats
Advertize supported renderer formats
Diffstat (limited to 'include/wlr/render/wlr_renderer.h')
-rw-r--r-- | include/wlr/render/wlr_renderer.h | 2 |
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. */ |