SDL
2.0
|
Data Structures | |
struct | wl_output_listener |
Macros | |
#define | WL_OUTPUT_GEOMETRY_SINCE_VERSION 1 |
#define | WL_OUTPUT_MODE_SINCE_VERSION 1 |
#define | WL_OUTPUT_DONE_SINCE_VERSION 2 |
#define | WL_OUTPUT_SCALE_SINCE_VERSION 2 |
#define | WL_OUTPUT_RELEASE_SINCE_VERSION 3 |
Enumerations | |
enum | wl_output_subpixel { WL_OUTPUT_SUBPIXEL_UNKNOWN = 0, WL_OUTPUT_SUBPIXEL_NONE = 1, WL_OUTPUT_SUBPIXEL_HORIZONTAL_RGB = 2, WL_OUTPUT_SUBPIXEL_HORIZONTAL_BGR = 3, WL_OUTPUT_SUBPIXEL_VERTICAL_RGB = 4, WL_OUTPUT_SUBPIXEL_VERTICAL_BGR = 5 } |
enum | wl_output_transform { WL_OUTPUT_TRANSFORM_NORMAL = 0, WL_OUTPUT_TRANSFORM_90 = 1, WL_OUTPUT_TRANSFORM_180 = 2, WL_OUTPUT_TRANSFORM_270 = 3, WL_OUTPUT_TRANSFORM_FLIPPED = 4, WL_OUTPUT_TRANSFORM_FLIPPED_90 = 5, WL_OUTPUT_TRANSFORM_FLIPPED_180 = 6, WL_OUTPUT_TRANSFORM_FLIPPED_270 = 7 } |
enum | wl_output_mode { WL_OUTPUT_MODE_CURRENT = 0x1, WL_OUTPUT_MODE_PREFERRED = 0x2 } |
Functions | |
static int | wl_output_add_listener (struct wl_output *wl_output, const struct wl_output_listener *listener, void *data) |
static void | wl_output_set_user_data (struct wl_output *wl_output, void *user_data) |
static void * | wl_output_get_user_data (struct wl_output *wl_output) |
static void | wl_output_destroy (struct wl_output *wl_output) |
static void | wl_output_release (struct wl_output *wl_output) |
An output describes part of the compositor geometry. The compositor works in the 'compositor coordinate system' and an output corresponds to a rectangular area in that space that is actually visible. This typically corresponds to a monitor that displays part of the compositor space. This object is published as global during start up, or when a monitor is hotplugged.
#define WL_OUTPUT_DONE_SINCE_VERSION 2 |
Definition at line 5184 of file wayland-client-protocol.h.
#define WL_OUTPUT_GEOMETRY_SINCE_VERSION 1 |
Definition at line 5176 of file wayland-client-protocol.h.
#define WL_OUTPUT_MODE_SINCE_VERSION 1 |
Definition at line 5180 of file wayland-client-protocol.h.
#define WL_OUTPUT_RELEASE_SINCE_VERSION 3 |
Definition at line 5193 of file wayland-client-protocol.h.
#define WL_OUTPUT_SCALE_SINCE_VERSION 2 |
Definition at line 5188 of file wayland-client-protocol.h.
enum wl_output_mode |
mode information
These flags describe properties of an output mode. They are used in the flags bitfield of the mode event.
Enumerator | |
---|---|
WL_OUTPUT_MODE_CURRENT | indicates this is the current mode |
WL_OUTPUT_MODE_PREFERRED | indicates this is the preferred mode |
Definition at line 5052 of file wayland-client-protocol.h.
enum wl_output_subpixel |
subpixel geometry information
This enumeration describes how the physical pixels on an output are laid out.
Definition at line 4961 of file wayland-client-protocol.h.
enum wl_output_transform |
transform from framebuffer to output
This describes the transform that a compositor will apply to a surface to compensate for the rotation or mirroring of an output device.
The flipped values correspond to an initial flip around a vertical axis followed by rotation.
The purpose is mainly to allow clients to render accordingly and tell the compositor, so that for fullscreen surfaces, the compositor will still be able to scan out directly from client surfaces.
Definition at line 5007 of file wayland-client-protocol.h.
|
inlinestatic |
Definition at line 5164 of file wayland-client-protocol.h.
|
inlinestatic |
Definition at line 5217 of file wayland-client-protocol.h.
|
inlinestatic |
Definition at line 5204 of file wayland-client-protocol.h.
|
inlinestatic |
Using this request a client can tell the server that it is not going to use the output object anymore.
Definition at line 5229 of file wayland-client-protocol.h.
References WL_OUTPUT_RELEASE.
Definition at line 5197 of file wayland-client-protocol.h.