lv_wayland_private.h¶
Defines
-
LV_WAYLAND_XDG_SHELL¶
-
LV_WAYLAND_DEFAULT_CURSOR_NAME¶
-
LVGL_DRAW_BUFFER_DIV¶
-
DMG_CACHE_CAPACITY¶
-
TAG_LOCAL¶
-
TAG_BUFFER_DAMAGE¶
-
TITLE_BAR_HEIGHT¶
-
BORDER_SIZE¶
-
BUTTON_MARGIN¶
-
BUTTON_PADDING¶
-
BUTTON_SIZE¶
-
LV_WAYLAND_CYCLE_PERIOD¶
-
FIRST_DECORATION¶
-
LAST_DECORATION¶
-
NUM_DECORATIONS¶
Enums
-
enum object_type¶
Values:
-
enumerator OBJECT_TITLEBAR¶
-
enumerator OBJECT_BUTTON_CLOSE¶
-
enumerator OBJECT_BUTTON_MAXIMIZE¶
-
enumerator OBJECT_BUTTON_MINIMIZE¶
-
enumerator OBJECT_BORDER_TOP¶
-
enumerator OBJECT_BORDER_BOTTOM¶
-
enumerator OBJECT_BORDER_LEFT¶
-
enumerator OBJECT_BORDER_RIGHT¶
-
enumerator OBJECT_WINDOW¶
-
enumerator OBJECT_TITLEBAR¶
Functions
-
void lv_wayland_init(void)¶
-
void lv_wayland_deinit(void)¶
-
void lv_wayland_wait_flush_cb(lv_display_t *disp)¶
-
const struct wl_callback_listener *lv_wayland_window_get_wl_surface_frame_listener(void)¶
-
const struct xdg_surface_listener *lv_wayland_xdg_shell_get_surface_listener(void)¶
-
const struct xdg_toplevel_listener *lv_wayland_xdg_shell_get_toplevel_listener(void)¶
-
const struct xdg_wm_base_listener *lv_wayland_xdg_shell_get_wm_base_listener(void)¶
-
lv_result_t lv_wayland_xdg_shell_create_window(struct lv_wayland_context *app, struct window *window, const char *title)¶
-
void lv_wayland_xdg_shell_handle_pointer_event(struct lv_wayland_context *app, uint32_t serial, uint32_t button, uint32_t state)¶
-
const char *lv_wayland_xdg_shell_get_cursor_name(const struct lv_wayland_context *app)¶
-
void lv_wayland_xdg_shell_deinit(void)¶
-
void lv_wayland_shm_set_interface(shm_ctx_t *context, struct wl_registry *registry, uint32_t name, const char *interface, uint32_t version)¶
-
struct graphic_object *lv_wayland_shm_on_graphical_object_creation(shm_ctx_t *context, struct graphic_object *obj)¶
-
void lv_wayland_shm_on_graphical_object_destruction(shm_ctx_t *context, struct graphic_object *obj)¶
-
lv_result_t lv_wayland_shm_resize_window(shm_ctx_t *context, struct window *window, int32_t width, int32_t height)¶
-
void lv_wayland_shm_flush_partial_mode(lv_display_t *disp, const lv_area_t *area, unsigned char *color_p)¶
-
void lv_wayland_dmabuf_set_interface(dmabuf_ctx_t *context, struct wl_registry *registry, uint32_t name, const char *interface, uint32_t version)¶
-
struct graphic_object *lv_wayland_dmabuf_on_graphical_object_creation(dmabuf_ctx_t *context, struct graphic_object *obj)¶
-
void lv_wayland_dmabuf_on_graphical_object_destruction(dmabuf_ctx_t *context, struct graphic_object *obj)¶
-
lv_result_t lv_wayland_dmabuf_set_draw_buffers(dmabuf_ctx_t *context, lv_display_t *display)¶
-
lv_result_t lv_wayland_dmabuf_create_draw_buffers(dmabuf_ctx_t *context, struct window *window)¶
-
lv_result_t lv_wayland_dmabuf_resize_window(dmabuf_ctx_t *context, struct window *window)¶
-
lv_result_t lv_wayland_dmabuf_is_ready(dmabuf_ctx_t *context)¶
-
void lv_wayland_dmabuf_destroy_draw_buffers(dmabuf_ctx_t *context, struct window *window)¶
-
void lv_wayland_dmabuf_initalize_context(dmabuf_ctx_t *context)¶
-
void lv_wayland_dmabuf_deinit(dmabuf_ctx_t *context)¶
-
void lv_wayland_dmabuf_flush_full_mode(lv_display_t *disp, const lv_area_t *area, unsigned char *color_p)¶
-
const struct smm_events *lv_wayland_sme_get_events(void)¶
-
const struct wl_seat_listener *lv_wayland_seat_get_listener(void)¶
-
const struct wl_keyboard_listener *lv_wayland_keyboard_get_listener(void)¶
-
const struct wl_pointer_listener *lv_wayland_pointer_get_listener(void)¶
-
const struct wl_touch_listener *lv_wayland_touch_get_listener(void)¶
-
void lv_wayland_cache_add_area(struct window *window, smm_buffer_t *buf, const lv_area_t *area)¶
-
void lv_wayland_cache_apply_areas(struct window *window, void *dest, void *src, smm_buffer_t *src_buf)¶
-
void lv_wayland_cache_purge(struct window *window, smm_buffer_t *buf)¶
Variables
-
struct lv_wayland_context lv_wl_ctx¶
-
struct input¶
Public Members
-
uint32_t x¶
-
uint32_t y¶
-
lv_indev_state_t left_button¶
-
lv_indev_state_t right_button¶
-
lv_indev_state_t wheel_button¶
-
int16_t wheel_diff¶
-
lv_indev_state_t state¶
-
lv_indev_touch_data_t touches[10]¶
-
uint8_t touch_event_cnt¶
-
uint8_t primary_id¶
-
uint32_t x¶
-
struct seat¶
Public Members
-
struct wl_pointer *wl_pointer¶
-
struct wl_keyboard *wl_keyboard¶
-
struct xkb_keymap *keymap¶
-
struct xkb_state *state¶
-
struct wl_pointer *wl_pointer¶
-
struct graphic_object¶
Public Members
-
struct wl_surface *surface¶
-
struct wl_subsurface *subsurface¶
-
smm_buffer_t *pending_buffer¶
-
smm_group_t *buffer_group¶
-
enum object_type type¶
-
int width¶
-
int height¶
-
struct wl_surface *surface¶
-
struct dmabuf_ctx_t¶
-
struct shm_ctx_t¶
-
struct lv_wayland_context¶
Public Members
-
struct wl_display *display¶
-
struct wl_registry *registry¶
-
struct wl_compositor *compositor¶
-
struct wl_subcompositor *subcompositor¶
-
struct wl_cursor_theme *cursor_theme¶
-
struct wl_surface *cursor_surface¶
-
struct xdg_wm_base *xdg_wm¶
-
bool opt_disable_decorations¶
-
struct xkb_context *xkb_context¶
-
struct graphic_object *touch_obj¶
-
struct graphic_object *pointer_obj¶
-
struct graphic_object *keyboard_obj¶
-
lv_timer_t *cycle_timer¶
-
bool cursor_flush_pending¶
-
struct pollfd wayland_pfd¶
-
struct wl_display *display¶
-
struct window¶
Public Members
-
lv_display_t *lv_disp¶
-
lv_indev_t *lv_indev_pointer¶
-
lv_indev_t *lv_indev_pointeraxis¶
-
lv_indev_t *lv_indev_touch¶
-
lv_indev_t *lv_indev_keyboard¶
-
lv_wayland_display_close_f_t close_cb¶
-
struct lv_wayland_context *wl_ctx¶
-
struct xdg_surface *xdg_surface¶
-
struct xdg_toplevel *xdg_toplevel¶
-
uint32_t wm_capabilities¶
-
struct graphic_object *body¶
-
unsigned char start¶
-
unsigned char end¶
-
unsigned size¶
-
int width¶
-
int height¶
-
bool resize_pending¶
-
int resize_width¶
-
int resize_height¶
-
bool flush_pending¶
-
bool shall_close¶
-
bool closed¶
-
bool maximized¶
-
bool fullscreen¶
-
uint32_t frame_counter¶
-
lv_display_t *lv_disp¶