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
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue