44 #include "wayland-client.h" QWaylandXCompositeBuffer(struct wl_xcomposite *xcomposite, uint32_t window, const QSize &size, struct wl_visual *visual)
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)
int width() const
Returns the width.
int height() const
Returns the height.
struct wl_buffer * mBuffer
The QSize class defines the size of a two-dimensional object using integer point precision.