42 #ifndef XCOMPOSITE_CLIENT_PROTOCOL_H 43 #define XCOMPOSITE_CLIENT_PROTOCOL_H 51 #include "wayland-util.h" 61 struct wl_xcomposite *wl_xcomposite,
62 const char *display_name,
63 uint32_t root_window);
70 return wl_proxy_add_listener((
struct wl_proxy *) wl_xcomposite,
71 (
void (**)(
void)) listener, data);
74 #define WL_XCOMPOSITE_CREATE_BUFFER 0 76 static inline struct wl_xcomposite *
79 wl_display_bind(display,
id,
"wl_xcomposite", version);
81 return (
struct wl_xcomposite *)
88 wl_proxy_set_user_data((
struct wl_proxy *) wl_xcomposite, user_data);
94 return wl_proxy_get_user_data((
struct wl_proxy *) wl_xcomposite);
100 wl_proxy_destroy((
struct wl_proxy *) wl_xcomposite);
103 static inline struct wl_buffer *
108 id = wl_proxy_create((
struct wl_proxy *) wl_xcomposite,
109 &wl_buffer_interface);
113 wl_proxy_marshal((
struct wl_proxy *) wl_xcomposite,
116 return (
struct wl_buffer *) id;
static struct wl_buffer * wl_xcomposite_create_buffer(struct wl_xcomposite *wl_xcomposite, uint32_t x_window, int width, int height, struct wl_visual *visual)
Q_GUI_EXPORT EGLDisplay display()
static void wl_xcomposite_set_user_data(struct wl_xcomposite *wl_xcomposite, void *user_data)
static const char * data(const QByteArray &arr)
#define WL_XCOMPOSITE_CREATE_BUFFER
void(* root)(void *data, struct wl_xcomposite *wl_xcomposite, const char *display_name, uint32_t root_window)
static void * wl_xcomposite_get_user_data(struct wl_xcomposite *wl_xcomposite)
static struct wl_xcomposite * wl_xcomposite_create(struct wl_display *display, uint32_t id, uint32_t version)
static void wl_xcomposite_destroy(struct wl_xcomposite *wl_xcomposite)
static QNSListener * listener
static int wl_xcomposite_add_listener(struct wl_xcomposite *wl_xcomposite, const struct wl_xcomposite_listener *listener, void *data)
const struct wl_interface wl_xcomposite_interface