mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-10-31 22:25:21 -04:00
cursor: add support for linux-drm-syncobj-v1
This commit is contained in:
parent
5f88635118
commit
738bbf01ee
4 changed files with 40 additions and 6 deletions
|
|
@ -18,7 +18,8 @@ bool output_ensure_buffer(struct wlr_output *output,
|
|||
bool output_cursor_set_texture(struct wlr_output_cursor *cursor,
|
||||
struct wlr_texture *texture, bool own_texture, const struct wlr_fbox *src_box,
|
||||
int dst_width, int dst_height, enum wl_output_transform transform,
|
||||
int32_t hotspot_x, int32_t hotspot_y);
|
||||
int32_t hotspot_x, int32_t hotspot_y, struct wlr_drm_syncobj_timeline *wait_timeline,
|
||||
uint64_t wait_point);
|
||||
|
||||
void output_defer_present(struct wlr_output *output, struct wlr_output_event_present event);
|
||||
|
||||
|
|
|
|||
|
|
@ -45,6 +45,8 @@ struct wlr_output_cursor {
|
|||
int32_t hotspot_x, hotspot_y;
|
||||
struct wlr_texture *texture;
|
||||
bool own_texture;
|
||||
struct wlr_drm_syncobj_timeline *wait_timeline;
|
||||
uint64_t wait_point;
|
||||
struct wl_listener renderer_destroy;
|
||||
struct wl_list link;
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue