diff options
author | Manuel Stoeckl <code@mstoeckl.com> | 2021-05-15 12:44:31 -0400 |
---|---|---|
committer | Simon Ser <contact@emersion.fr> | 2021-07-19 11:41:24 +0200 |
commit | 69827e97dbdee569f0e0987cf6e24acb48217301 (patch) | |
tree | 735b9e1c727a960b91d4d2de47179088ca495dbf /README.md | |
parent | b9bf8d4b28ab174be722eb617eb18c0b63721c66 (diff) | |
download | swaybg-69827e97dbdee569f0e0987cf6e24acb48217301.tar.gz swaybg-69827e97dbdee569f0e0987cf6e24acb48217301.tar.bz2 |
Create/destroy a new shm buffer per frame
Caching these actually increased memory usage after startup;
compositors like Sway tend to release the buffer on receipt (since
they have already copied the shm buffer to an OpenGL equivalent)
so the shm buffer is no longer needed after being used. Outputs
(when not in nested mode) are generally only configured/drawn once,
so there is no point in caching data for the future.
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions