wayland.client.protocol

Members

Functions

wl_buffer_destroy
void wl_buffer_destroy(wl_buffer* wl_buffer_)

destroy a buffer

wl_compositor_create_region
wl_region* wl_compositor_create_region(wl_compositor* wl_compositor_)

create new region

wl_compositor_create_surface
wl_surface* wl_compositor_create_surface(wl_compositor* wl_compositor_)

create new surface

wl_data_device_manager_create_data_source
wl_data_source* wl_data_device_manager_create_data_source(wl_data_device_manager* wl_data_device_manager_)

create a new data source

wl_data_device_manager_get_data_device
wl_data_device* wl_data_device_manager_get_data_device(wl_data_device_manager* wl_data_device_manager_, wl_seat* seat)

create a new data device

wl_data_device_release
void wl_data_device_release(wl_data_device* wl_data_device_)

destroy data device

wl_data_device_set_selection
void wl_data_device_set_selection(wl_data_device* wl_data_device_, wl_data_source* source, uint serial)

copy data to the selection

wl_data_device_start_drag
void wl_data_device_start_drag(wl_data_device* wl_data_device_, wl_data_source* source, wl_surface* origin, wl_surface* icon, uint serial)

start drag-and-drop operation

wl_data_offer_accept
void wl_data_offer_accept(wl_data_offer* wl_data_offer_, uint serial, const(char)* mime_type)

accept one of the offered mime types

wl_data_offer_destroy
void wl_data_offer_destroy(wl_data_offer* wl_data_offer_)

destroy data offer

wl_data_offer_finish
void wl_data_offer_finish(wl_data_offer* wl_data_offer_)

the offer will no longer be used

wl_data_offer_receive
void wl_data_offer_receive(wl_data_offer* wl_data_offer_, const(char)* mime_type, int fd)

request that the data is transferred

wl_data_offer_set_actions
void wl_data_offer_set_actions(wl_data_offer* wl_data_offer_, uint dnd_actions, uint preferred_action)

set the available/preferred drag-and-drop actions

wl_data_source_destroy
void wl_data_source_destroy(wl_data_source* wl_data_source_)

destroy the data source

wl_data_source_offer
void wl_data_source_offer(wl_data_source* wl_data_source_, const(char)* mime_type)

add an offered mime type

wl_data_source_set_actions
void wl_data_source_set_actions(wl_data_source* wl_data_source_, uint dnd_actions)

set the available drag-and-drop actions

wl_display_get_registry
wl_registry* wl_display_get_registry(wl_display* wl_display_)

get global registry object

wl_display_sync
wl_callback* wl_display_sync(wl_display* wl_display_)

asynchronous roundtrip

wl_keyboard_release
void wl_keyboard_release(wl_keyboard* wl_keyboard_)

release the keyboard object

wl_output_release
void wl_output_release(wl_output* wl_output_)

release the output object

wl_pointer_release
void wl_pointer_release(wl_pointer* wl_pointer_)

release the pointer object

wl_pointer_set_cursor
void wl_pointer_set_cursor(wl_pointer* wl_pointer_, uint serial, wl_surface* surface, int hotspot_x, int hotspot_y)

set the pointer surface

wl_region_add
void wl_region_add(wl_region* wl_region_, int x, int y, int width, int height)

add rectangle to region

wl_region_destroy
void wl_region_destroy(wl_region* wl_region_)

destroy region

wl_region_subtract
void wl_region_subtract(wl_region* wl_region_, int x, int y, int width, int height)

subtract rectangle from region

wl_registry_bind
void* wl_registry_bind(wl_registry* wl_registry_, uint name, const(wl_interface)* iface, uint ver)

bind an object to the display

wl_seat_get_keyboard
wl_keyboard* wl_seat_get_keyboard(wl_seat* wl_seat_)

return keyboard object

wl_seat_get_pointer
wl_pointer* wl_seat_get_pointer(wl_seat* wl_seat_)

return pointer object

wl_seat_get_touch
wl_touch* wl_seat_get_touch(wl_seat* wl_seat_)

return touch object

wl_seat_release
void wl_seat_release(wl_seat* wl_seat_)

release the seat object

wl_shell_get_shell_surface
wl_shell_surface* wl_shell_get_shell_surface(wl_shell* wl_shell_, wl_surface* surface)

create a shell surface from a surface

wl_shell_surface_move
void wl_shell_surface_move(wl_shell_surface* wl_shell_surface_, wl_seat* seat, uint serial)

start an interactive move

wl_shell_surface_pong
void wl_shell_surface_pong(wl_shell_surface* wl_shell_surface_, uint serial)

respond to a ping event

wl_shell_surface_resize
void wl_shell_surface_resize(wl_shell_surface* wl_shell_surface_, wl_seat* seat, uint serial, uint edges)

start an interactive resize

wl_shell_surface_set_class
void wl_shell_surface_set_class(wl_shell_surface* wl_shell_surface_, const(char)* class_)

set surface class

wl_shell_surface_set_fullscreen
void wl_shell_surface_set_fullscreen(wl_shell_surface* wl_shell_surface_, uint method, uint framerate, wl_output* output)

make the surface a fullscreen surface

wl_shell_surface_set_maximized
void wl_shell_surface_set_maximized(wl_shell_surface* wl_shell_surface_, wl_output* output)

make the surface a maximized surface

wl_shell_surface_set_popup
void wl_shell_surface_set_popup(wl_shell_surface* wl_shell_surface_, wl_seat* seat, uint serial, wl_surface* parent, int x, int y, uint flags)

make the surface a popup surface

wl_shell_surface_set_title
void wl_shell_surface_set_title(wl_shell_surface* wl_shell_surface_, const(char)* title)

set surface title

wl_shell_surface_set_toplevel
void wl_shell_surface_set_toplevel(wl_shell_surface* wl_shell_surface_)

make the surface a toplevel surface

wl_shell_surface_set_transient
void wl_shell_surface_set_transient(wl_shell_surface* wl_shell_surface_, wl_surface* parent, int x, int y, uint flags)

make the surface a transient surface

wl_shm_create_pool
wl_shm_pool* wl_shm_create_pool(wl_shm* wl_shm_, int fd, int size)

create a shm pool

wl_shm_pool_create_buffer
wl_buffer* wl_shm_pool_create_buffer(wl_shm_pool* wl_shm_pool_, int offset, int width, int height, int stride, uint format)

create a buffer from the pool

wl_shm_pool_destroy
void wl_shm_pool_destroy(wl_shm_pool* wl_shm_pool_)

destroy the pool

wl_shm_pool_resize
void wl_shm_pool_resize(wl_shm_pool* wl_shm_pool_, int size)

change the size of the pool mapping

wl_subcompositor_destroy
void wl_subcompositor_destroy(wl_subcompositor* wl_subcompositor_)

unbind from the subcompositor interface

wl_subcompositor_get_subsurface
wl_subsurface* wl_subcompositor_get_subsurface(wl_subcompositor* wl_subcompositor_, wl_surface* surface, wl_surface* parent)

give a surface the role sub-surface

wl_subsurface_destroy
void wl_subsurface_destroy(wl_subsurface* wl_subsurface_)

remove sub-surface interface

wl_subsurface_place_above
void wl_subsurface_place_above(wl_subsurface* wl_subsurface_, wl_surface* sibling)

restack the sub-surface

wl_subsurface_place_below
void wl_subsurface_place_below(wl_subsurface* wl_subsurface_, wl_surface* sibling)

restack the sub-surface

wl_subsurface_set_desync
void wl_subsurface_set_desync(wl_subsurface* wl_subsurface_)

set sub-surface to desynchronized mode

wl_subsurface_set_position
void wl_subsurface_set_position(wl_subsurface* wl_subsurface_, int x, int y)

reposition the sub-surface

wl_subsurface_set_sync
void wl_subsurface_set_sync(wl_subsurface* wl_subsurface_)

set sub-surface to synchronized mode

wl_surface_attach
void wl_surface_attach(wl_surface* wl_surface_, wl_buffer* buffer, int x, int y)

set the surface contents

wl_surface_commit
void wl_surface_commit(wl_surface* wl_surface_)

commit pending surface state

wl_surface_damage
void wl_surface_damage(wl_surface* wl_surface_, int x, int y, int width, int height)

mark part of the surface damaged

wl_surface_damage_buffer
void wl_surface_damage_buffer(wl_surface* wl_surface_, int x, int y, int width, int height)

mark part of the surface damaged using buffer coordinates

wl_surface_destroy
void wl_surface_destroy(wl_surface* wl_surface_)

delete surface

wl_surface_frame
wl_callback* wl_surface_frame(wl_surface* wl_surface_)

request a frame throttling hint

wl_surface_set_buffer_scale
void wl_surface_set_buffer_scale(wl_surface* wl_surface_, int scale)

sets the buffer scaling factor

wl_surface_set_buffer_transform
void wl_surface_set_buffer_transform(wl_surface* wl_surface_, int transform)

sets the buffer transformation

wl_surface_set_input_region
void wl_surface_set_input_region(wl_surface* wl_surface_, wl_region* region)

set input region

wl_surface_set_opaque_region
void wl_surface_set_opaque_region(wl_surface* wl_surface_, wl_region* region)

set opaque region

wl_touch_release
void wl_touch_release(wl_touch* wl_touch_)

release the touch object

Structs

wl_buffer_listener
struct wl_buffer_listener

content for a wl_surface

wl_callback_listener
struct wl_callback_listener

callback object

wl_data_device_listener
struct wl_data_device_listener

data transfer device

wl_data_offer_listener
struct wl_data_offer_listener

offer to transfer data

wl_data_source_listener
struct wl_data_source_listener

offer to transfer data

wl_display_listener
struct wl_display_listener

core global object

wl_keyboard_listener
struct wl_keyboard_listener

keyboard input device

wl_output_listener
struct wl_output_listener

compositor output region

wl_pointer_listener
struct wl_pointer_listener

pointer input device

wl_registry_listener
struct wl_registry_listener

global registry object

wl_seat_listener
struct wl_seat_listener

group of input devices

wl_shell_surface_listener
struct wl_shell_surface_listener

desktop-style metadata interface

wl_shm_listener
struct wl_shm_listener

shared memory support

wl_surface_listener
struct wl_surface_listener

an onscreen surface

wl_touch_listener
struct wl_touch_listener

touchscreen input device

Variables

WL_DATA_DEVICE_ERROR_ROLE
enum uint WL_DATA_DEVICE_ERROR_ROLE;
WL_DATA_DEVICE_MANAGER_DND_ACTION_ASK
enum uint WL_DATA_DEVICE_MANAGER_DND_ACTION_ASK;
WL_DATA_DEVICE_MANAGER_DND_ACTION_COPY
enum uint WL_DATA_DEVICE_MANAGER_DND_ACTION_COPY;
WL_DATA_DEVICE_MANAGER_DND_ACTION_MOVE
enum uint WL_DATA_DEVICE_MANAGER_DND_ACTION_MOVE;
WL_DATA_DEVICE_MANAGER_DND_ACTION_NONE
enum uint WL_DATA_DEVICE_MANAGER_DND_ACTION_NONE;
WL_DATA_OFFER_ERROR_INVALID_ACTION
enum uint WL_DATA_OFFER_ERROR_INVALID_ACTION;
WL_DATA_OFFER_ERROR_INVALID_ACTION_MASK
enum uint WL_DATA_OFFER_ERROR_INVALID_ACTION_MASK;
WL_DATA_OFFER_ERROR_INVALID_FINISH
enum uint WL_DATA_OFFER_ERROR_INVALID_FINISH;
WL_DATA_OFFER_ERROR_INVALID_OFFER
enum uint WL_DATA_OFFER_ERROR_INVALID_OFFER;
WL_DATA_SOURCE_ERROR_INVALID_ACTION_MASK
enum uint WL_DATA_SOURCE_ERROR_INVALID_ACTION_MASK;
WL_DATA_SOURCE_ERROR_INVALID_SOURCE
enum uint WL_DATA_SOURCE_ERROR_INVALID_SOURCE;
WL_DISPLAY_ERROR_INVALID_METHOD
enum uint WL_DISPLAY_ERROR_INVALID_METHOD;
WL_DISPLAY_ERROR_INVALID_OBJECT
enum uint WL_DISPLAY_ERROR_INVALID_OBJECT;
WL_DISPLAY_ERROR_NO_MEMORY
enum uint WL_DISPLAY_ERROR_NO_MEMORY;
WL_KEYBOARD_KEYMAP_FORMAT_NO_KEYMAP
enum uint WL_KEYBOARD_KEYMAP_FORMAT_NO_KEYMAP;
WL_KEYBOARD_KEYMAP_FORMAT_XKB_V1
enum uint WL_KEYBOARD_KEYMAP_FORMAT_XKB_V1;
WL_KEYBOARD_KEY_STATE_PRESSED
enum uint WL_KEYBOARD_KEY_STATE_PRESSED;
WL_KEYBOARD_KEY_STATE_RELEASED
enum uint WL_KEYBOARD_KEY_STATE_RELEASED;
WL_OUTPUT_MODE_CURRENT
enum uint WL_OUTPUT_MODE_CURRENT;
WL_OUTPUT_MODE_PREFERRED
enum uint WL_OUTPUT_MODE_PREFERRED;
WL_OUTPUT_SUBPIXEL_HORIZONTAL_BGR
enum uint WL_OUTPUT_SUBPIXEL_HORIZONTAL_BGR;
WL_OUTPUT_SUBPIXEL_HORIZONTAL_RGB
enum uint WL_OUTPUT_SUBPIXEL_HORIZONTAL_RGB;
WL_OUTPUT_SUBPIXEL_NONE
enum uint WL_OUTPUT_SUBPIXEL_NONE;
WL_OUTPUT_SUBPIXEL_UNKNOWN
enum uint WL_OUTPUT_SUBPIXEL_UNKNOWN;
WL_OUTPUT_SUBPIXEL_VERTICAL_BGR
enum uint WL_OUTPUT_SUBPIXEL_VERTICAL_BGR;
WL_OUTPUT_SUBPIXEL_VERTICAL_RGB
enum uint WL_OUTPUT_SUBPIXEL_VERTICAL_RGB;
WL_OUTPUT_TRANSFORM_180
enum uint WL_OUTPUT_TRANSFORM_180;
WL_OUTPUT_TRANSFORM_270
enum uint WL_OUTPUT_TRANSFORM_270;
WL_OUTPUT_TRANSFORM_90
enum uint WL_OUTPUT_TRANSFORM_90;
WL_OUTPUT_TRANSFORM_FLIPPED
enum uint WL_OUTPUT_TRANSFORM_FLIPPED;
WL_OUTPUT_TRANSFORM_FLIPPED_180
enum uint WL_OUTPUT_TRANSFORM_FLIPPED_180;
WL_OUTPUT_TRANSFORM_FLIPPED_270
enum uint WL_OUTPUT_TRANSFORM_FLIPPED_270;
WL_OUTPUT_TRANSFORM_FLIPPED_90
enum uint WL_OUTPUT_TRANSFORM_FLIPPED_90;
WL_OUTPUT_TRANSFORM_NORMAL
enum uint WL_OUTPUT_TRANSFORM_NORMAL;
WL_POINTER_AXIS_HORIZONTAL_SCROLL
enum uint WL_POINTER_AXIS_HORIZONTAL_SCROLL;
WL_POINTER_AXIS_SOURCE_CONTINUOUS
enum uint WL_POINTER_AXIS_SOURCE_CONTINUOUS;
WL_POINTER_AXIS_SOURCE_FINGER
enum uint WL_POINTER_AXIS_SOURCE_FINGER;
WL_POINTER_AXIS_SOURCE_WHEEL
enum uint WL_POINTER_AXIS_SOURCE_WHEEL;
WL_POINTER_AXIS_VERTICAL_SCROLL
enum uint WL_POINTER_AXIS_VERTICAL_SCROLL;
WL_POINTER_BUTTON_STATE_PRESSED
enum uint WL_POINTER_BUTTON_STATE_PRESSED;
WL_POINTER_BUTTON_STATE_RELEASED
enum uint WL_POINTER_BUTTON_STATE_RELEASED;
WL_POINTER_ERROR_ROLE
enum uint WL_POINTER_ERROR_ROLE;
WL_SEAT_CAPABILITY_KEYBOARD
enum uint WL_SEAT_CAPABILITY_KEYBOARD;
WL_SEAT_CAPABILITY_POINTER
enum uint WL_SEAT_CAPABILITY_POINTER;
WL_SEAT_CAPABILITY_TOUCH
enum uint WL_SEAT_CAPABILITY_TOUCH;
WL_SHELL_ERROR_ROLE
enum uint WL_SHELL_ERROR_ROLE;
WL_SHELL_SURFACE_FULLSCREEN_METHOD_DEFAULT
enum uint WL_SHELL_SURFACE_FULLSCREEN_METHOD_DEFAULT;
WL_SHELL_SURFACE_FULLSCREEN_METHOD_DRIVER
enum uint WL_SHELL_SURFACE_FULLSCREEN_METHOD_DRIVER;
WL_SHELL_SURFACE_FULLSCREEN_METHOD_FILL
enum uint WL_SHELL_SURFACE_FULLSCREEN_METHOD_FILL;
WL_SHELL_SURFACE_FULLSCREEN_METHOD_SCALE
enum uint WL_SHELL_SURFACE_FULLSCREEN_METHOD_SCALE;
WL_SHELL_SURFACE_RESIZE_BOTTOM
enum uint WL_SHELL_SURFACE_RESIZE_BOTTOM;
WL_SHELL_SURFACE_RESIZE_BOTTOM_LEFT
enum uint WL_SHELL_SURFACE_RESIZE_BOTTOM_LEFT;
WL_SHELL_SURFACE_RESIZE_BOTTOM_RIGHT
enum uint WL_SHELL_SURFACE_RESIZE_BOTTOM_RIGHT;
WL_SHELL_SURFACE_RESIZE_LEFT
enum uint WL_SHELL_SURFACE_RESIZE_LEFT;
WL_SHELL_SURFACE_RESIZE_NONE
enum uint WL_SHELL_SURFACE_RESIZE_NONE;
WL_SHELL_SURFACE_RESIZE_RIGHT
enum uint WL_SHELL_SURFACE_RESIZE_RIGHT;
WL_SHELL_SURFACE_RESIZE_TOP
enum uint WL_SHELL_SURFACE_RESIZE_TOP;
WL_SHELL_SURFACE_RESIZE_TOP_LEFT
enum uint WL_SHELL_SURFACE_RESIZE_TOP_LEFT;
WL_SHELL_SURFACE_RESIZE_TOP_RIGHT
enum uint WL_SHELL_SURFACE_RESIZE_TOP_RIGHT;
WL_SHELL_SURFACE_TRANSIENT_INACTIVE
enum uint WL_SHELL_SURFACE_TRANSIENT_INACTIVE;
WL_SHM_ERROR_INVALID_FD
enum uint WL_SHM_ERROR_INVALID_FD;
WL_SHM_ERROR_INVALID_FORMAT
enum uint WL_SHM_ERROR_INVALID_FORMAT;
WL_SHM_ERROR_INVALID_STRIDE
enum uint WL_SHM_ERROR_INVALID_STRIDE;
WL_SHM_FORMAT_ABGR1555
enum uint WL_SHM_FORMAT_ABGR1555;
WL_SHM_FORMAT_ABGR2101010
enum uint WL_SHM_FORMAT_ABGR2101010;
WL_SHM_FORMAT_ABGR4444
enum uint WL_SHM_FORMAT_ABGR4444;
WL_SHM_FORMAT_ABGR8888
enum uint WL_SHM_FORMAT_ABGR8888;
WL_SHM_FORMAT_ARGB1555
enum uint WL_SHM_FORMAT_ARGB1555;
WL_SHM_FORMAT_ARGB2101010
enum uint WL_SHM_FORMAT_ARGB2101010;
WL_SHM_FORMAT_ARGB4444
enum uint WL_SHM_FORMAT_ARGB4444;

WL_SHM_FORMAT_ARGB8888: 32-bit ARGB format, [31:0] A:R:G:B 8:8:8:8 little endian WL_SHM_FORMAT_XRGB8888: 32-bit RGB format, [31:0] x:R:G:B 8:8:8:8 little endian WL_SHM_FORMAT_C8: 8-bit color index format, [7:0] C WL_SHM_FORMAT_RGB332: 8-bit RGB format, [7:0] R:G:B 3:3:2 WL_SHM_FORMAT_BGR233: 8-bit BGR format, [7:0] B:G:R 2:3:3 WL_SHM_FORMAT_XRGB4444: 16-bit xRGB format, [15:0] x:R:G:B 4:4:4:4 little endian WL_SHM_FORMAT_XBGR4444: 16-bit xBGR format, [15:0] x:B:G:R 4:4:4:4 little endian WL_SHM_FORMAT_RGBX4444: 16-bit RGBx format, [15:0] R:G:B:x 4:4:4:4 little endian WL_SHM_FORMAT_BGRX4444: 16-bit BGRx format, [15:0] B:G:R:x 4:4:4:4 little endian WL_SHM_FORMAT_ARGB4444: 16-bit ARGB format, [15:0] A:R:G:B 4:4:4:4 little endian WL_SHM_FORMAT_ABGR4444: 16-bit ABGR format, [15:0] A:B:G:R 4:4:4:4 little endian WL_SHM_FORMAT_RGBA4444: 16-bit RBGA format, [15:0] R:G:B:A 4:4:4:4 little endian WL_SHM_FORMAT_BGRA4444: 16-bit BGRA format, [15:0] B:G:R:A 4:4:4:4 little endian WL_SHM_FORMAT_XRGB1555: 16-bit xRGB format, [15:0] x:R:G:B 1:5:5:5 little endian WL_SHM_FORMAT_XBGR1555: 16-bit xBGR 1555 format, [15:0] x:B:G:R 1:5:5:5 little endian WL_SHM_FORMAT_RGBX5551: 16-bit RGBx 5551 format, [15:0] R:G:B:x 5:5:5:1 little endian WL_SHM_FORMAT_BGRX5551: 16-bit BGRx 5551 format, [15:0] B:G:R:x 5:5:5:1 little endian WL_SHM_FORMAT_ARGB1555: 16-bit ARGB 1555 format, [15:0] A:R:G:B 1:5:5:5 little endian WL_SHM_FORMAT_ABGR1555: 16-bit ABGR 1555 format, [15:0] A:B:G:R 1:5:5:5 little endian WL_SHM_FORMAT_RGBA5551: 16-bit RGBA 5551 format, [15:0] R:G:B:A 5:5:5:1 little endian WL_SHM_FORMAT_BGRA5551: 16-bit BGRA 5551 format, [15:0] B:G:R:A 5:5:5:1 little endian WL_SHM_FORMAT_RGB565: 16-bit RGB 565 format, [15:0] R:G:B 5:6:5 little endian WL_SHM_FORMAT_BGR565: 16-bit BGR 565 format, [15:0] B:G:R 5:6:5 little endian WL_SHM_FORMAT_RGB888: 24-bit RGB format, [23:0] R:G:B little endian WL_SHM_FORMAT_BGR888: 24-bit BGR format, [23:0] B:G:R little endian WL_SHM_FORMAT_XBGR8888: 32-bit xBGR format, [31:0] x:B:G:R 8:8:8:8 little endian WL_SHM_FORMAT_RGBX8888: 32-bit RGBx format, [31:0] R:G:B:x 8:8:8:8 little endian WL_SHM_FORMAT_BGRX8888: 32-bit BGRx format, [31:0] B:G:R:x 8:8:8:8 little endian WL_SHM_FORMAT_ABGR8888: 32-bit ABGR format, [31:0] A:B:G:R 8:8:8:8 little endian WL_SHM_FORMAT_RGBA8888: 32-bit RGBA format, [31:0] R:G:B:A 8:8:8:8 little endian WL_SHM_FORMAT_BGRA8888: 32-bit BGRA format, [31:0] B:G:R:A 8:8:8:8 little endian WL_SHM_FORMAT_XRGB2101010: 32-bit xRGB format, [31:0] x:R:G:B 2:10:10:10 little endian WL_SHM_FORMAT_XBGR2101010: 32-bit xBGR format, [31:0] x:B:G:R 2:10:10:10 little endian WL_SHM_FORMAT_RGBX1010102: 32-bit RGBx format, [31:0] R:G:B:x 10:10:10:2 little endian WL_SHM_FORMAT_BGRX1010102: 32-bit BGRx format, [31:0] B:G:R:x 10:10:10:2 little endian WL_SHM_FORMAT_ARGB2101010: 32-bit ARGB format, [31:0] A:R:G:B 2:10:10:10 little endian WL_SHM_FORMAT_ABGR2101010: 32-bit ABGR format, [31:0] A:B:G:R 2:10:10:10 little endian WL_SHM_FORMAT_RGBA1010102: 32-bit RGBA format, [31:0] R:G:B:A 10:10:10:2 little endian WL_SHM_FORMAT_BGRA1010102: 32-bit BGRA format, [31:0] B:G:R:A 10:10:10:2 little endian

WL_SHM_FORMAT_ARGB8888
enum uint WL_SHM_FORMAT_ARGB8888;
WL_SHM_FORMAT_AYUV
enum uint WL_SHM_FORMAT_AYUV;
WL_SHM_FORMAT_BGR233
enum uint WL_SHM_FORMAT_BGR233;
WL_SHM_FORMAT_BGR565
enum uint WL_SHM_FORMAT_BGR565;
WL_SHM_FORMAT_BGR888
enum uint WL_SHM_FORMAT_BGR888;
WL_SHM_FORMAT_BGRA1010102
enum uint WL_SHM_FORMAT_BGRA1010102;
WL_SHM_FORMAT_BGRA4444
enum uint WL_SHM_FORMAT_BGRA4444;
WL_SHM_FORMAT_BGRA5551
enum uint WL_SHM_FORMAT_BGRA5551;
WL_SHM_FORMAT_BGRA8888
enum uint WL_SHM_FORMAT_BGRA8888;
WL_SHM_FORMAT_BGRX1010102
enum uint WL_SHM_FORMAT_BGRX1010102;
WL_SHM_FORMAT_BGRX4444
enum uint WL_SHM_FORMAT_BGRX4444;
WL_SHM_FORMAT_BGRX5551
enum uint WL_SHM_FORMAT_BGRX5551;
WL_SHM_FORMAT_BGRX8888
enum uint WL_SHM_FORMAT_BGRX8888;
WL_SHM_FORMAT_C8
enum uint WL_SHM_FORMAT_C8;
WL_SHM_FORMAT_NV12
enum uint WL_SHM_FORMAT_NV12;
WL_SHM_FORMAT_NV16
enum uint WL_SHM_FORMAT_NV16;
WL_SHM_FORMAT_NV21
enum uint WL_SHM_FORMAT_NV21;
WL_SHM_FORMAT_NV61
enum uint WL_SHM_FORMAT_NV61;
WL_SHM_FORMAT_RGB332
enum uint WL_SHM_FORMAT_RGB332;
WL_SHM_FORMAT_RGB565
enum uint WL_SHM_FORMAT_RGB565;
WL_SHM_FORMAT_RGB888
enum uint WL_SHM_FORMAT_RGB888;
WL_SHM_FORMAT_RGBA1010102
enum uint WL_SHM_FORMAT_RGBA1010102;
WL_SHM_FORMAT_RGBA4444
enum uint WL_SHM_FORMAT_RGBA4444;
WL_SHM_FORMAT_RGBA5551
enum uint WL_SHM_FORMAT_RGBA5551;
WL_SHM_FORMAT_RGBA8888
enum uint WL_SHM_FORMAT_RGBA8888;
WL_SHM_FORMAT_RGBX1010102
enum uint WL_SHM_FORMAT_RGBX1010102;
WL_SHM_FORMAT_RGBX4444
enum uint WL_SHM_FORMAT_RGBX4444;
WL_SHM_FORMAT_RGBX5551
enum uint WL_SHM_FORMAT_RGBX5551;
WL_SHM_FORMAT_RGBX8888
enum uint WL_SHM_FORMAT_RGBX8888;
WL_SHM_FORMAT_UYVY
enum uint WL_SHM_FORMAT_UYVY;
WL_SHM_FORMAT_VYUY
enum uint WL_SHM_FORMAT_VYUY;
WL_SHM_FORMAT_XBGR1555
enum uint WL_SHM_FORMAT_XBGR1555;
WL_SHM_FORMAT_XBGR2101010
enum uint WL_SHM_FORMAT_XBGR2101010;
WL_SHM_FORMAT_XBGR4444
enum uint WL_SHM_FORMAT_XBGR4444;
WL_SHM_FORMAT_XBGR8888
enum uint WL_SHM_FORMAT_XBGR8888;
WL_SHM_FORMAT_XRGB1555
enum uint WL_SHM_FORMAT_XRGB1555;
WL_SHM_FORMAT_XRGB2101010
enum uint WL_SHM_FORMAT_XRGB2101010;
WL_SHM_FORMAT_XRGB4444
enum uint WL_SHM_FORMAT_XRGB4444;
WL_SHM_FORMAT_XRGB8888
enum uint WL_SHM_FORMAT_XRGB8888;
WL_SHM_FORMAT_YUV410
enum uint WL_SHM_FORMAT_YUV410;
WL_SHM_FORMAT_YUV411
enum uint WL_SHM_FORMAT_YUV411;
WL_SHM_FORMAT_YUV420
enum uint WL_SHM_FORMAT_YUV420;
WL_SHM_FORMAT_YUV422
enum uint WL_SHM_FORMAT_YUV422;
WL_SHM_FORMAT_YUV444
enum uint WL_SHM_FORMAT_YUV444;
WL_SHM_FORMAT_YUYV
enum uint WL_SHM_FORMAT_YUYV;
WL_SHM_FORMAT_YVU410
enum uint WL_SHM_FORMAT_YVU410;
WL_SHM_FORMAT_YVU411
enum uint WL_SHM_FORMAT_YVU411;
WL_SHM_FORMAT_YVU420
enum uint WL_SHM_FORMAT_YVU420;
WL_SHM_FORMAT_YVU422
enum uint WL_SHM_FORMAT_YVU422;
WL_SHM_FORMAT_YVU444
enum uint WL_SHM_FORMAT_YVU444;
WL_SHM_FORMAT_YVYU
enum uint WL_SHM_FORMAT_YVYU;

WL_SHM_FORMAT_ARGB8888: 32-bit ARGB format, [31:0] A:R:G:B 8:8:8:8 little endian WL_SHM_FORMAT_XRGB8888: 32-bit RGB format, [31:0] x:R:G:B 8:8:8:8 little endian WL_SHM_FORMAT_C8: 8-bit color index format, [7:0] C WL_SHM_FORMAT_RGB332: 8-bit RGB format, [7:0] R:G:B 3:3:2 WL_SHM_FORMAT_BGR233: 8-bit BGR format, [7:0] B:G:R 2:3:3 WL_SHM_FORMAT_XRGB4444: 16-bit xRGB format, [15:0] x:R:G:B 4:4:4:4 little endian WL_SHM_FORMAT_XBGR4444: 16-bit xBGR format, [15:0] x:B:G:R 4:4:4:4 little endian WL_SHM_FORMAT_RGBX4444: 16-bit RGBx format, [15:0] R:G:B:x 4:4:4:4 little endian WL_SHM_FORMAT_BGRX4444: 16-bit BGRx format, [15:0] B:G:R:x 4:4:4:4 little endian WL_SHM_FORMAT_ARGB4444: 16-bit ARGB format, [15:0] A:R:G:B 4:4:4:4 little endian WL_SHM_FORMAT_ABGR4444: 16-bit ABGR format, [15:0] A:B:G:R 4:4:4:4 little endian WL_SHM_FORMAT_RGBA4444: 16-bit RBGA format, [15:0] R:G:B:A 4:4:4:4 little endian WL_SHM_FORMAT_BGRA4444: 16-bit BGRA format, [15:0] B:G:R:A 4:4:4:4 little endian WL_SHM_FORMAT_XRGB1555: 16-bit xRGB format, [15:0] x:R:G:B 1:5:5:5 little endian WL_SHM_FORMAT_XBGR1555: 16-bit xBGR 1555 format, [15:0] x:B:G:R 1:5:5:5 little endian WL_SHM_FORMAT_RGBX5551: 16-bit RGBx 5551 format, [15:0] R:G:B:x 5:5:5:1 little endian WL_SHM_FORMAT_BGRX5551: 16-bit BGRx 5551 format, [15:0] B:G:R:x 5:5:5:1 little endian WL_SHM_FORMAT_ARGB1555: 16-bit ARGB 1555 format, [15:0] A:R:G:B 1:5:5:5 little endian WL_SHM_FORMAT_ABGR1555: 16-bit ABGR 1555 format, [15:0] A:B:G:R 1:5:5:5 little endian WL_SHM_FORMAT_RGBA5551: 16-bit RGBA 5551 format, [15:0] R:G:B:A 5:5:5:1 little endian WL_SHM_FORMAT_BGRA5551: 16-bit BGRA 5551 format, [15:0] B:G:R:A 5:5:5:1 little endian WL_SHM_FORMAT_RGB565: 16-bit RGB 565 format, [15:0] R:G:B 5:6:5 little endian WL_SHM_FORMAT_BGR565: 16-bit BGR 565 format, [15:0] B:G:R 5:6:5 little endian WL_SHM_FORMAT_RGB888: 24-bit RGB format, [23:0] R:G:B little endian WL_SHM_FORMAT_BGR888: 24-bit BGR format, [23:0] B:G:R little endian WL_SHM_FORMAT_XBGR8888: 32-bit xBGR format, [31:0] x:B:G:R 8:8:8:8 little endian WL_SHM_FORMAT_RGBX8888: 32-bit RGBx format, [31:0] R:G:B:x 8:8:8:8 little endian WL_SHM_FORMAT_BGRX8888: 32-bit BGRx format, [31:0] B:G:R:x 8:8:8:8 little endian WL_SHM_FORMAT_ABGR8888: 32-bit ABGR format, [31:0] A:B:G:R 8:8:8:8 little endian WL_SHM_FORMAT_RGBA8888: 32-bit RGBA format, [31:0] R:G:B:A 8:8:8:8 little endian WL_SHM_FORMAT_BGRA8888: 32-bit BGRA format, [31:0] B:G:R:A 8:8:8:8 little endian WL_SHM_FORMAT_XRGB2101010: 32-bit xRGB format, [31:0] x:R:G:B 2:10:10:10 little endian WL_SHM_FORMAT_XBGR2101010: 32-bit xBGR format, [31:0] x:B:G:R 2:10:10:10 little endian WL_SHM_FORMAT_RGBX1010102: 32-bit RGBx format, [31:0] R:G:B:x 10:10:10:2 little endian WL_SHM_FORMAT_BGRX1010102: 32-bit BGRx format, [31:0] B:G:R:x 10:10:10:2 little endian WL_SHM_FORMAT_ARGB2101010: 32-bit ARGB format, [31:0] A:R:G:B 2:10:10:10 little endian WL_SHM_FORMAT_ABGR2101010: 32-bit ABGR format, [31:0] A:B:G:R 2:10:10:10 little endian WL_SHM_FORMAT_RGBA1010102: 32-bit RGBA format, [31:0] R:G:B:A 10:10:10:2 little endian WL_SHM_FORMAT_BGRA1010102: 32-bit BGRA format, [31:0] B:G:R:A 10:10:10:2 little endian

WL_SUBCOMPOSITOR_ERROR_BAD_SURFACE
enum uint WL_SUBCOMPOSITOR_ERROR_BAD_SURFACE;
WL_SUBSURFACE_ERROR_BAD_SURFACE
enum uint WL_SUBSURFACE_ERROR_BAD_SURFACE;
WL_SURFACE_ERROR_INVALID_SCALE
enum uint WL_SURFACE_ERROR_INVALID_SCALE;
WL_SURFACE_ERROR_INVALID_TRANSFORM
enum uint WL_SURFACE_ERROR_INVALID_TRANSFORM;

Meta