<feed xmlns='http://www.w3.org/2005/Atom'>
<title>wlroots.git/render, branch master</title>
<subtitle>fork of wlroots with action binder support
</subtitle>
<id>https://git.vlhl.dev/navi/wayland/wlroots.git/atom?h=master</id>
<link rel='self' href='https://git.vlhl.dev/navi/wayland/wlroots.git/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.vlhl.dev/navi/wayland/wlroots.git/'/>
<updated>2024-02-23T17:52:48+00:00</updated>
<entry>
<title>render/egl: drop wlr_egl_is_current()</title>
<updated>2024-02-23T17:52:48+00:00</updated>
<author>
<name>Simon Ser</name>
<email>contact@emersion.fr</email>
</author>
<published>2024-02-22T18:48:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.vlhl.dev/navi/wayland/wlroots.git/commit/?id=54e1fefd2e29cb00dff7c02801913d793ceab7d6'/>
<id>urn:sha1:54e1fefd2e29cb00dff7c02801913d793ceab7d6</id>
<content type='text'>
This is unused.
</content>
</entry>
<entry>
<title>render/egl: drop wlr_egl_save_context()</title>
<updated>2024-02-23T17:52:48+00:00</updated>
<author>
<name>Simon Ser</name>
<email>contact@emersion.fr</email>
</author>
<published>2024-02-22T18:37:54+00:00</published>
<link rel='alternate' type='text/html' href='https://git.vlhl.dev/navi/wayland/wlroots.git/commit/?id=c31d307971da6088c76fca9a057a6426cc59df22'/>
<id>urn:sha1:c31d307971da6088c76fca9a057a6426cc59df22</id>
<content type='text'>
This is no longer used.
</content>
</entry>
<entry>
<title>render/egl: add save_context parameter to wlr_egl_make_current()</title>
<updated>2024-02-23T17:52:48+00:00</updated>
<author>
<name>Simon Ser</name>
<email>contact@emersion.fr</email>
</author>
<published>2024-02-22T18:26:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.vlhl.dev/navi/wayland/wlroots.git/commit/?id=d5556ec78f65c286ae281a17d7b6b2ddc38c4c00'/>
<id>urn:sha1:d5556ec78f65c286ae281a17d7b6b2ddc38c4c00</id>
<content type='text'>
Saving the old context and immediately making our own context
current is a common pattern. Let's make it easier to do.

No functional change, just refactoring.
</content>
</entry>
<entry>
<title>render/vulkan: Avoid double-free on calloc error</title>
<updated>2024-02-22T22:07:58+00:00</updated>
<author>
<name>Kenny Levinsen</name>
<email>kl@kl.wtf</email>
</author>
<published>2024-02-22T22:07:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.vlhl.dev/navi/wayland/wlroots.git/commit/?id=4d68d3759b92f9192ced0dc9ed2572c33e894a7b'/>
<id>urn:sha1:4d68d3759b92f9192ced0dc9ed2572c33e894a7b</id>
<content type='text'>
In query_modifier_support, the calloc for either or both of render_mods
and texture_mods may fail, in which case both are freed for convenience.
However, if one is non-NULL, vulkan_format_props_finish will try to free
it again.

NULL them to avoid double-free.
</content>
</entry>
<entry>
<title>render/drm_format_set: Clean up on union failure</title>
<updated>2024-02-22T22:03:50+00:00</updated>
<author>
<name>Kenny Levinsen</name>
<email>kl@kl.wtf</email>
</author>
<published>2024-02-22T22:03:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.vlhl.dev/navi/wayland/wlroots.git/commit/?id=73dd9347949378fca13f5a6cfb351cfef7c8d2a7'/>
<id>urn:sha1:73dd9347949378fca13f5a6cfb351cfef7c8d2a7</id>
<content type='text'>
If drm_format_set_extend fails, we need to make sure each wlr_drm_format
is cleaned up together with the formats array. Finish the set to take
care of it.
</content>
</entry>
<entry>
<title>Define _POSIX_C_SOURCE globally</title>
<updated>2024-02-15T14:41:12+00:00</updated>
<author>
<name>Simon Ser</name>
<email>contact@emersion.fr</email>
</author>
<published>2024-02-15T14:34:49+00:00</published>
<link rel='alternate' type='text/html' href='https://git.vlhl.dev/navi/wayland/wlroots.git/commit/?id=842093bb843ae6c719c2b1cf32eb749cab9e46ca'/>
<id>urn:sha1:842093bb843ae6c719c2b1cf32eb749cab9e46ca</id>
<content type='text'>
Stop trying to maintain a per-file _POSIX_C_SOURCE. Instead,
require POSIX.1-2008 globally. A lot of core source files depend
on that already.

Some care must be taken on a few select files where we need a bit
more than POSIX. Some files need XSI extensions (_XOPEN_SOURCE) and
some files need BSD extensions (_DEFAULT_SOURCE). In both cases,
these feature test macros imply _POSIX_C_SOURCE. Make sure to not
define both these macros and _POSIX_C_SOURCE explicitly to avoid
POSIX requirement conflicts (e.g. _POSIX_C_SOURCE says POSIX.1-2001
but _XOPEN_SOURCE says POSIX.1-2008).

Additionally, there is one special case in render/vulkan/vulkan.c.
That file needs major()/minor(), and these are system-specific.
On FreeBSD, _POSIX_C_SOURCE hides system-specific symbols so we need
to make sure it's not defined for this file. On Linux, we can
explicitly include &lt;sys/sysmacros.h&gt; and ensure that apart from
symbols defined there the file only uses POSIX toys.
</content>
</entry>
<entry>
<title>Add more POSIX compliance macros to fix uClibc support</title>
<updated>2024-02-12T16:41:45+00:00</updated>
<author>
<name>Paul Cercueil</name>
<email>paul@crapouillou.net</email>
</author>
<published>2024-02-06T10:54:29+00:00</published>
<link rel='alternate' type='text/html' href='https://git.vlhl.dev/navi/wayland/wlroots.git/commit/?id=220df2aa0f8025ffe99287c3f5ea0e05436e3d08'/>
<id>urn:sha1:220df2aa0f8025ffe99287c3f5ea0e05436e3d08</id>
<content type='text'>
- Add POSIX 1993.09 compliance macro in source files that use
  "struct timespec";
- Add POSIX 2001.12 compliance macro in source files that use
  "struct sigaction" and the SA_SIGINFO macro, or the fchmod()
  function;
- Add POSIX 2008.09 compliance macro in source files that use the
  getline() function.

These compliance macros are enough for wlroots to compile with the
git-master version of uClibc-ng.

Signed-off-by: Paul Cercueil &lt;paul@crapouillou.net&gt;
</content>
</entry>
<entry>
<title>allocator: remove backend parameter in allocator_autocreate_with_drm_fd</title>
<updated>2024-02-02T21:36:31+00:00</updated>
<author>
<name>Austin Shafer</name>
<email>ashafer@nvidia.com</email>
</author>
<published>2024-01-31T20:37:07+00:00</published>
<link rel='alternate' type='text/html' href='https://git.vlhl.dev/navi/wayland/wlroots.git/commit/?id=d368028bd5557810af954ef96bf0f4addd97f551'/>
<id>urn:sha1:d368028bd5557810af954ef96bf0f4addd97f551</id>
<content type='text'>
Since we only use the backend capabilities here we can simply pass
them in directly. This allows other locations to create an allocator
even if they don't have a backend. They can simply specify the caps
they want instead.
</content>
</entry>
<entry>
<title>render/gles2: Fixup dropping has_alpha from pixel_format</title>
<updated>2024-01-31T19:27:22+00:00</updated>
<author>
<name>Leo Li</name>
<email>sunpeng.li@amd.com</email>
</author>
<published>2024-01-31T19:15:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.vlhl.dev/navi/wayland/wlroots.git/commit/?id=60af3b6b78365f26247187593fbb722515719027'/>
<id>urn:sha1:60af3b6b78365f26247187593fbb722515719027</id>
<content type='text'>
Fixes: 71fb55f3 ("render/pixel-format: Move has_alpha into it's own array")
</content>
</entry>
<entry>
<title>render/pixel-format: Move has_alpha into it's own array</title>
<updated>2024-01-31T18:47:17+00:00</updated>
<author>
<name>Leo Li</name>
<email>sunpeng.li@amd.com</email>
</author>
<published>2024-01-31T17:30:16+00:00</published>
<link rel='alternate' type='text/html' href='https://git.vlhl.dev/navi/wayland/wlroots.git/commit/?id=71fb55f3bf4341d250b580cb2d6a7acf21cfce39'/>
<id>urn:sha1:71fb55f3bf4341d250b580cb2d6a7acf21cfce39</id>
<content type='text'>
Some opaque pixel formats (nv12, p010) require per-plane bytes_per_block
info. However, it doesn't make sense to store them in
wlr_pixel_format_info, as they will never be useful (currently, this
info is used for shm, which doesn't have a concept of multi-planar
buffers.)

Let's define a separate array and function for determining whether a
pixel format has alpha.
</content>
</entry>
</feed>
