libweston: Document struct weston_mode
The main point of this is to write down that the refresh field is in units of mHz. Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
This commit is contained in:
parent
a401a1b247
commit
40df321d7c
@ -129,12 +129,18 @@ enum weston_surface_protection_mode {
|
|||||||
WESTON_SURFACE_PROTECTION_MODE_ENFORCED
|
WESTON_SURFACE_PROTECTION_MODE_ENFORCED
|
||||||
};
|
};
|
||||||
|
|
||||||
|
/** Possible mode of an output
|
||||||
|
*
|
||||||
|
* \ingroup output
|
||||||
|
*/
|
||||||
struct weston_mode {
|
struct weston_mode {
|
||||||
uint32_t flags;
|
uint32_t flags;
|
||||||
|
/** Picture aspect ratio.*/
|
||||||
enum weston_mode_aspect_ratio aspect_ratio;
|
enum weston_mode_aspect_ratio aspect_ratio;
|
||||||
int32_t width, height;
|
int32_t width; /**< Width in pixels. */
|
||||||
uint32_t refresh;
|
int32_t height; /**< Height in pixels. */
|
||||||
struct wl_list link;
|
uint32_t refresh; /**< Refresh rate in mHz. */
|
||||||
|
struct wl_list link; /**< in weston_output::mode_list */
|
||||||
};
|
};
|
||||||
|
|
||||||
struct weston_animation {
|
struct weston_animation {
|
||||||
|
Loading…
Reference in New Issue
Block a user