<feed xmlns='http://www.w3.org/2005/Atom'>
<title>swaylock/.git/pool-buffer.c, branch v1.8.4</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.
</subtitle>
<link rel='alternate' type='text/html' href='https://git.prezmop.xyz/swaylock/.git/'/>
<entry>
<title>Define _POSIX_C_SOURCE globally</title>
<updated>2025-03-18T21:31:01+00:00</updated>
<author>
<name>Simon Ser</name>
<email>contact@emersion.fr</email>
</author>
<published>2025-03-18T21:23:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.prezmop.xyz/swaylock/.git/commit/?id=0b10244dc09c7108e7046700a4cd0a64dde57380'/>
<id>0b10244dc09c7108e7046700a4cd0a64dde57380</id>
<content type='text'>
Other Sway projects have switched to this approach.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Other Sway projects have switched to this approach.
</pre>
</div>
</content>
</entry>
<entry>
<title>Stop pooling background surface buffers</title>
<updated>2023-03-22T09:56:42+00:00</updated>
<author>
<name>Manuel Stoeckl</name>
<email>code@mstoeckl.com</email>
</author>
<published>2023-03-12T20:48:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.prezmop.xyz/swaylock/.git/commit/?id=1d3e62c67f07a180fca02a6df1cf9648f2b50349'/>
<id>1d3e62c67f07a180fca02a6df1cf9648f2b50349</id>
<content type='text'>
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.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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.
</pre>
</div>
</content>
</entry>
<entry>
<title>Use shm_open instead of mkstemp</title>
<updated>2022-11-24T22:56:10+00:00</updated>
<author>
<name>Manuel Stoeckl</name>
<email>code@mstoeckl.com</email>
</author>
<published>2022-11-24T22:40:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.prezmop.xyz/swaylock/.git/commit/?id=cbdafb031ade85cb49a83cd93f13863265bc0e99'/>
<id>cbdafb031ade85cb49a83cd93f13863265bc0e99</id>
<content type='text'>
shm_open is more reliable because it does not require
a writeable filesystem folder, unlike mkstemp.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
shm_open is more reliable because it does not require
a writeable filesystem folder, unlike mkstemp.
</pre>
</div>
</content>
</entry>
<entry>
<title>pool-buffer: handle zero-sized buffers</title>
<updated>2021-02-17T15:50:38+00:00</updated>
<author>
<name>Simon Ser</name>
<email>contact@emersion.fr</email>
</author>
<published>2021-02-10T16:41:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.prezmop.xyz/swaylock/.git/commit/?id=691415bf95b564189f0603f0eeab6bb3e8447bd6'/>
<id>691415bf95b564189f0603f0eeab6bb3e8447bd6</id>
<content type='text'>
mako does something similar.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
mako does something similar.
</pre>
</div>
</content>
</entry>
<entry>
<title>pool-buffer: add L suffix to POSIX version for consistency</title>
<updated>2019-05-20T16:51:48+00:00</updated>
<author>
<name>Jan Beich</name>
<email>jbeich@FreeBSD.org</email>
</author>
<published>2019-05-20T16:40:04+00:00</published>
<link rel='alternate' type='text/html' href='https://git.prezmop.xyz/swaylock/.git/commit/?id=96e281fdb2d75f69965335e77dd3561a4695ad98'/>
<id>96e281fdb2d75f69965335e77dd3561a4695ad98</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Remove references to pango</title>
<updated>2019-01-23T12:20:24+00:00</updated>
<author>
<name>Ian Fan</name>
<email>ianfan0@gmail.com</email>
</author>
<published>2019-01-23T12:20:24+00:00</published>
<link rel='alternate' type='text/html' href='https://git.prezmop.xyz/swaylock/.git/commit/?id=b87e2a4916684944c31d452166631b39a01e57c6'/>
<id>b87e2a4916684944c31d452166631b39a01e57c6</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Convert swaylock into standalone project</title>
<updated>2019-01-14T02:16:47+00:00</updated>
<author>
<name>Drew DeVault</name>
<email>sir@cmpwn.com</email>
</author>
<published>2019-01-14T02:15:32+00:00</published>
<link rel='alternate' type='text/html' href='https://git.prezmop.xyz/swaylock/.git/commit/?id=b90637e2a6e854d586b977ed9b80b806edeb12dd'/>
<id>b90637e2a6e854d586b977ed9b80b806edeb12dd</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
