<feed xmlns='http://www.w3.org/2005/Atom'>
<title>wlroots.git/render/vulkan, 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-22T22:07:58+00:00</updated>
<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>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>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>
<entry>
<title>render/vulkan: correct sRBG gamma expansion in shader</title>
<updated>2024-01-26T13:50:55+00:00</updated>
<author>
<name>Félix Poisot</name>
<email>felix@lhfblc.fr</email>
</author>
<published>2024-01-23T19:54:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.vlhl.dev/navi/wayland/wlroots.git/commit/?id=5ae8ce807abbf6eab1113a36e190df50ffc2f9c1'/>
<id>urn:sha1:5ae8ce807abbf6eab1113a36e190df50ffc2f9c1</id>
<content type='text'>
</content>
</entry>
<entry>
<title>render/vulkan: fix possible double free</title>
<updated>2024-01-17T15:44:37+00:00</updated>
<author>
<name>Kirill Primak</name>
<email>vyivel@eclair.cafe</email>
</author>
<published>2024-01-16T22:52:05+00:00</published>
<link rel='alternate' type='text/html' href='https://git.vlhl.dev/navi/wayland/wlroots.git/commit/?id=3eb89e53252d3d4ce164f3a9abb99231f280240d'/>
<id>urn:sha1:3eb89e53252d3d4ce164f3a9abb99231f280240d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fix bool return types</title>
<updated>2024-01-04T21:24:06+00:00</updated>
<author>
<name>Simon Ser</name>
<email>contact@emersion.fr</email>
</author>
<published>2024-01-04T21:24:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.vlhl.dev/navi/wayland/wlroots.git/commit/?id=a0b1329ee6cce22aca0c9b064fe9c136cc05d630'/>
<id>urn:sha1:a0b1329ee6cce22aca0c9b064fe9c136cc05d630</id>
<content type='text'>
This makes wlroots build in C23 mode.

C23 is more strict and rejects implicit conversions from bool to a
pointer.
</content>
</entry>
<entry>
<title>render/vulkan: use _SRGB image view when possible</title>
<updated>2023-12-04T15:13:31+00:00</updated>
<author>
<name>Manuel Stoeckl</name>
<email>code@mstoeckl.com</email>
</author>
<published>2023-10-22T02:06:43+00:00</published>
<link rel='alternate' type='text/html' href='https://git.vlhl.dev/navi/wayland/wlroots.git/commit/?id=d6859da3b465609a47ce02e700f5f408f5a5d4b8'/>
<id>urn:sha1:d6859da3b465609a47ce02e700f5f408f5a5d4b8</id>
<content type='text'>
This is the last of a set of commits which ensures that both textures
and render buffers can be accessed through _UNORM and _SRGB image
views. While _UNORM image views are not yet used for 8-bpc image
formats, they will be needed in the future to support color transforms
for both textures and render buffers.
</content>
</entry>
<entry>
<title>render/vulkan: constify vulkan_format_props_find_modifier</title>
<updated>2023-12-04T15:13:31+00:00</updated>
<author>
<name>Manuel Stoeckl</name>
<email>code@mstoeckl.com</email>
</author>
<published>2023-10-22T01:40:11+00:00</published>
<link rel='alternate' type='text/html' href='https://git.vlhl.dev/navi/wayland/wlroots.git/commit/?id=566c413d8ff70f075a7481035605ec710d610f45'/>
<id>urn:sha1:566c413d8ff70f075a7481035605ec710d610f45</id>
<content type='text'>
</content>
</entry>
<entry>
<title>render/vulkan: create VkImage with option for _SRGB view, if possible</title>
<updated>2023-12-04T15:13:31+00:00</updated>
<author>
<name>Manuel Stoeckl</name>
<email>code@mstoeckl.com</email>
</author>
<published>2023-10-22T01:35:28+00:00</published>
<link rel='alternate' type='text/html' href='https://git.vlhl.dev/navi/wayland/wlroots.git/commit/?id=88a4b9eefd5b3f97dcf4da406b9f5dc17988a639'/>
<id>urn:sha1:88a4b9eefd5b3f97dcf4da406b9f5dc17988a639</id>
<content type='text'>
</content>
</entry>
<entry>
<title>render/vulkan: detect which _UNORM formats support _SRGB views</title>
<updated>2023-12-04T15:13:31+00:00</updated>
<author>
<name>Manuel Stoeckl</name>
<email>code@mstoeckl.com</email>
</author>
<published>2023-10-22T01:29:46+00:00</published>
<link rel='alternate' type='text/html' href='https://git.vlhl.dev/navi/wayland/wlroots.git/commit/?id=fd4548bb93af7e26f52a9ca266da3af78b17bf93'/>
<id>urn:sha1:fd4548bb93af7e26f52a9ca266da3af78b17bf93</id>
<content type='text'>
</content>
</entry>
</feed>
