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

@ -29,6 +29,7 @@
#define WL_HIDE_DEPRECATED 1
#include "wayland-server.h"
#include "wayland-util.h"
#define ARRAY_LENGTH(a) (sizeof (a) / sizeof (a)[0])
@ -176,4 +177,7 @@ extern wl_log_func_t wl_log_handler;
void wl_log(const char *fmt, ...);
struct wl_array *
wl_display_get_additional_shm_formats(struct wl_display *display);
#endif