summaryrefslogtreecommitdiff
path: root/include/pool-buffer.h
AgeCommit message (Collapse)Author
2023-03-22Stop pooling background surface buffersManuel Stoeckl
The wl_buffers for the background surface only need to be updated when the output dimensions change. Using the fixed pool of two buffers to cache these buffers does not help, since if a new buffer is needed, it will have a different size than whatever buffers were cached. Furthermore, because the pool has fixed size, it is possible to run out of buffers if configure events arrive faster than pool buffers are marked not busy, which can lead to protocol errors when the background surface is committed after acknowledging a new size, but without attaching a buffer that matches that size.
2019-01-23Remove references to pangoIan Fan
2019-01-13Convert swaylock into standalone projectDrew DeVault