mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2026-02-12 04:28:18 -05:00
output: don't rebuild cursor color transform for each update
This commit is contained in:
parent
7101a69804
commit
811765ffa0
4 changed files with 43 additions and 19 deletions
|
|
@ -22,6 +22,8 @@ bool output_cursor_set_texture(struct wlr_output_cursor *cursor,
|
|||
int dst_width, int dst_height, enum wl_output_transform transform,
|
||||
int32_t hotspot_x, int32_t hotspot_y, struct wlr_drm_syncobj_timeline *wait_timeline,
|
||||
uint64_t wait_point);
|
||||
bool output_cursor_refresh_color_transform(struct wlr_output_cursor *cursor,
|
||||
const struct wlr_output_image_description *img_desc);
|
||||
|
||||
void output_defer_present(struct wlr_output *output, struct wlr_output_event_present event);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue