SDL 2.0
|
Data Structures | |
struct | wl_display_listener |
Macros | |
#define | WL_DISPLAY_ERROR_SINCE_VERSION 1 |
#define | WL_DISPLAY_DELETE_ID_SINCE_VERSION 1 |
#define | WL_DISPLAY_SYNC_SINCE_VERSION 1 |
#define | WL_DISPLAY_GET_REGISTRY_SINCE_VERSION 1 |
Enumerations | |
enum | wl_display_error { WL_DISPLAY_ERROR_INVALID_OBJECT = 0 , WL_DISPLAY_ERROR_INVALID_METHOD = 1 , WL_DISPLAY_ERROR_NO_MEMORY = 2 } |
Functions | |
static int | wl_display_add_listener (struct wl_display *wl_display, const struct wl_display_listener *listener, void *data) |
static void | wl_display_set_user_data (struct wl_display *wl_display, void *user_data) |
static void * | wl_display_get_user_data (struct wl_display *wl_display) |
static struct wl_callback * | wl_display_sync (struct wl_display *wl_display) |
static struct wl_registry * | wl_display_get_registry (struct wl_display *wl_display) |
The core global object. This is a special singleton object. It is used for internal Wayland protocol features.
#define WL_DISPLAY_DELETE_ID_SINCE_VERSION 1 |
Definition at line 963 of file wayland-client-protocol.h.
#define WL_DISPLAY_ERROR_SINCE_VERSION 1 |
Definition at line 959 of file wayland-client-protocol.h.
#define WL_DISPLAY_GET_REGISTRY_SINCE_VERSION 1 |
Definition at line 972 of file wayland-client-protocol.h.
#define WL_DISPLAY_SYNC_SINCE_VERSION 1 |
Definition at line 968 of file wayland-client-protocol.h.
enum wl_display_error |
global error values
These errors are global and can be emitted in response to any server request.
Definition at line 887 of file wayland-client-protocol.h.
|
inlinestatic |
Definition at line 946 of file wayland-client-protocol.h.
|
inlinestatic |
This request creates a registry object that allows the client to list and bind the global objects available from the compositor.
Definition at line 1028 of file wayland-client-protocol.h.
References NULL, WL_DISPLAY_GET_REGISTRY, and wl_registry_interface.
|
inlinestatic |
Definition at line 983 of file wayland-client-protocol.h.
|
inlinestatic |
Definition at line 976 of file wayland-client-protocol.h.
|
inlinestatic |
The sync request asks the server to emit the 'done' event on the returned wl_callback object. Since requests are handled in-order and events are delivered in-order, this can be used as a barrier to ensure all previous requests and the resulting events have been handled.
The object returned by this request will be destroyed by the compositor after the callback is fired and as such the client must not attempt to use it after that point.
The callback_data passed in the callback is the event serial.
Definition at line 1010 of file wayland-client-protocol.h.
References callback(), NULL, wl_callback_interface, and WL_DISPLAY_SYNC.