mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-11-16 06:59:44 -05:00
Add wlcore/wl_shm (WIP)
This commit is contained in:
parent
f252c5a792
commit
2aafb5dd19
12 changed files with 186 additions and 4 deletions
13
include/wlr/wlcore/wl_shm.h
Normal file
13
include/wlr/wlcore/wl_shm.h
Normal file
|
|
@ -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
|
||||
Loading…
Add table
Add a link
Reference in a new issue