mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2026-04-14 08:22:25 -04:00
Merge branch 'async-master' into 'master'
Draft: render,types/wlr_shm: Offload slow cleanup ops See merge request wlroots/wlroots!4755
This commit is contained in:
commit
2c9b315e7d
6 changed files with 130 additions and 4 deletions
10
include/util/cleanup.h
Normal file
10
include/util/cleanup.h
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
typedef void (*wlr_task_cb)(void *data);
|
||||
|
||||
struct wlr_task {
|
||||
wlr_task_cb task;
|
||||
void *data;
|
||||
};
|
||||
|
||||
void wlr_cleanup_queue_init(void);
|
||||
void wlr_cleanup_queue_finish(void);
|
||||
void wlr_cleanup_defer(struct wlr_task t);
|
||||
Loading…
Add table
Add a link
Reference in a new issue