mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2026-04-17 06:46:39 -04:00
Merge branch 'cursor_chill' into 'master'
output: limit rate of hardware cursor texture change See merge request wlroots/wlroots!5309
This commit is contained in:
commit
291eff46b8
4 changed files with 22 additions and 1 deletions
|
|
@ -17,6 +17,7 @@ bool output_pick_format(struct wlr_output *output,
|
|||
bool output_ensure_buffer(struct wlr_output *output,
|
||||
struct wlr_output_state *state, bool *new_back_buffer);
|
||||
|
||||
bool output_cursor_attempt_hardware(struct wlr_output_cursor *cursor);
|
||||
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,
|
||||
|
|
|
|||
|
|
@ -278,6 +278,8 @@ struct wlr_output {
|
|||
struct wlr_output_image_description image_description_value;
|
||||
struct wlr_color_transform *color_transform;
|
||||
struct wlr_color_primaries default_primaries_value;
|
||||
int cursor_uploaded_this_frame;
|
||||
struct wlr_output_cursor *cursor_pending_upload;
|
||||
} WLR_PRIVATE;
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue