diff options
author | Drew DeVault <sir@cmpwn.com> | 2017-06-22 16:32:47 -0400 |
---|---|---|
committer | Drew DeVault <sir@cmpwn.com> | 2017-06-23 13:41:07 -0400 |
commit | 2aafb5dd19f8a3e3436f8843071fa2076a6d2716 (patch) | |
tree | 6fe60ddeb499ebad270fae0c929ef4c79188e969 /include/wlr/wlcore | |
parent | f252c5a79214a3d3cd7ab3f239050b234e4ae9e2 (diff) |
Add wlcore/wl_shm (WIP)
Diffstat (limited to 'include/wlr/wlcore')
-rw-r--r-- | include/wlr/wlcore/wl_shm.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/include/wlr/wlcore/wl_shm.h b/include/wlr/wlcore/wl_shm.h new file mode 100644 index 00000000..12c2ef78 --- /dev/null +++ b/include/wlr/wlcore/wl_shm.h @@ -0,0 +1,13 @@ +#ifndef _WLR_WLCORE_WL_SHM_H +#define _WLR_WLCORE_WL_SHM_H +#include <wayland-server-core.h> +#include <wlr/render.h> + +struct wlr_wl_shm; + +struct wlr_wl_shm *wlr_wl_shm_init(struct wl_display *display); +void wlr_wl_shm_add_format(struct wlr_wl_shm *shm, enum wl_shm_format format); +void wlr_wl_shm_add_renderer_formats( + struct wlr_wl_shm *shm, struct wlr_renderer *renderer); + +#endif |