struct wl_resource resource;
int32_t width, height;
uint32_t busy_count;
- void *user_data;
-};
-
-struct wl_shm_callbacks {
- void (*buffer_created)(struct wl_buffer *buffer);
-
- void (*buffer_damaged)(struct wl_buffer *buffer,
- int32_t x, int32_t y,
- int32_t width, int32_t height);
-
- void (*buffer_destroyed)(struct wl_buffer *buffer);
};
struct wl_listener {
#include "wayland-server-protocol.h"
void
-wl_display_post_frame(struct wl_display *display, struct wl_surface *surface,
- uint32_t msecs);
-
-void
wl_client_add_resource(struct wl_client *client,
struct wl_resource *resource);
uint32_t time);
-struct wl_shm;
-
void *
wl_shm_buffer_get_data(struct wl_buffer *buffer);