shm: Add API for renderers to register additional pixel formats

This commit is contained in:
Tomeu Vizoso 2013-08-06 20:05:53 +02:00 committed by Kristian Høgsberg
parent dbeb5134fa
commit d9883a6be1
4 changed files with 58 additions and 13 deletions

View file

@ -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,