mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2026-04-14 08:22:25 -04:00
render,types/wlr_shm: Offload slow cleanup ops
Defers close()/munmap() calls into a cleanup thread in to avoid blocking when they are slow. This is most noticable on low end hardware with large screens where large surfaces can spend considerable time invalidating mmus on the gpu or clearing shmem pages.
This commit is contained in:
parent
015bb8512e
commit
5cc737d599
6 changed files with 130 additions and 4 deletions
|
|
@ -13,4 +13,5 @@ wlr_files += files(
|
|||
'token.c',
|
||||
'transform.c',
|
||||
'utf8.c',
|
||||
'cleanup.c',
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue