mirror of
https://gitlab.freedesktop.org/wayland/wayland.git
synced 2025-11-02 09:01:39 -05:00
shm: Add API for renderers to register additional pixel formats
This commit is contained in:
parent
dbeb5134fa
commit
d9883a6be1
4 changed files with 58 additions and 13 deletions
|
|
@ -321,6 +321,9 @@ wl_shm_buffer_get_height(struct wl_shm_buffer *buffer);
|
|||
int
|
||||
wl_display_init_shm(struct wl_display *display);
|
||||
|
||||
void
|
||||
wl_display_add_shm_format(struct wl_display *display, uint32_t format);
|
||||
|
||||
struct wl_shm_buffer *
|
||||
wl_shm_buffer_create(struct wl_client *client,
|
||||
uint32_t id, int32_t width, int32_t height,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue