Add wl_shm_buffer_create()

This commit is contained in:
Kristian Høgsberg 2012-08-15 23:03:21 -04:00
parent c855d6eec4
commit 7d3ccec18e
2 changed files with 50 additions and 1 deletions

View file

@ -440,6 +440,11 @@ wl_buffer_is_shm(struct wl_buffer *buffer);
int
wl_display_init_shm(struct wl_display *display);
struct wl_buffer *
wl_shm_buffer_create(struct wl_client *client,
uint32_t id, int32_t width, int32_t height,
int32_t stride, uint32_t format);
void wl_log_set_handler_server(wl_log_func_t handler);
#ifdef __cplusplus