Commit graph

6 commits

Author SHA1 Message Date
Gergő Sályi
71dc725ec7 Create shm slot pools per output instead of using one in the global state
This allows the release of graphics memory per output when an output is
destroyed, unlike when we had only one shm slot pool that cannot shrink

Hopefully this will help with a claimed leak of graphics memory:
https://github.com/gergo-salyi/multibg-sway/issues/2
2023-08-31 17:35:35 +02:00
Gergő Sályi
54809851d9 Before drawing a background check if the buffer to use is already active 2023-08-31 16:43:37 +02:00
Gergő Sályi
7681beecba Log shm slot pool size on new/destroyed output
This might help to keep better track on our graphics memory use
2023-08-31 16:17:41 +02:00
Gergő Sályi
a2471bda0b Implement image resizing 2023-04-26 23:22:46 +02:00
Gergő Sályi
fbfd7e722e Update 2023-04-07 21:49:13 +02:00
Gergő Sályi
3eedfa1eb5 Initial commit 2023-04-07 17:25:48 +02:00