summaryrefslogtreecommitdiff
path: root/completions
diff options
context:
space:
mode:
authorManuel Stoeckl <code@mstoeckl.com>2023-03-12 16:48:58 -0400
committerSimon Ser <contact@emersion.fr>2023-03-22 10:56:42 +0100
commit1d3e62c67f07a180fca02a6df1cf9648f2b50349 (patch)
tree598dd26d5a62ade9ee705073cad83c8d71b7617f /completions
parentac3b49b6571ceda3f8db11a98bfe320106996280 (diff)
Stop pooling background surface buffers
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.
Diffstat (limited to 'completions')
0 files changed, 0 insertions, 0 deletions