<feed xmlns='http://www.w3.org/2005/Atom'>
<title>wlroots.git/types/buffer, 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-21T08:54:35+00:00</updated>
<entry>
<title>buffer: add single-pixel-buffer-v1 special case in buffer_is_opaque()</title>
<updated>2024-02-21T08:54:35+00:00</updated>
<author>
<name>Simon Ser</name>
<email>contact@emersion.fr</email>
</author>
<published>2022-12-06T11:00:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.vlhl.dev/navi/wayland/wlroots.git/commit/?id=cf7b91cc5fb02836956ea4323a4230171edea5e2'/>
<id>urn:sha1:cf7b91cc5fb02836956ea4323a4230171edea5e2</id>
<content type='text'>
</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>buffer: convert to try_from</title>
<updated>2023-10-19T16:19:27+00:00</updated>
<author>
<name>eri</name>
<email>eri@inventati.org</email>
</author>
<published>2023-10-19T15:39:01+00:00</published>
<link rel='alternate' type='text/html' href='https://git.vlhl.dev/navi/wayland/wlroots.git/commit/?id=8ccbe45143eff1705c0516bcdb02376d7d627198'/>
<id>urn:sha1:8ccbe45143eff1705c0516bcdb02376d7d627198</id>
<content type='text'>
References: wlroots/wlroots#884
</content>
</entry>
<entry>
<title>treewide: Migrate from sizeof(struct) to sizeof(*pointer) where practical</title>
<updated>2023-10-03T05:51:07+00:00</updated>
<author>
<name>Alexander Orzechowski</name>
<email>alex@ozal.ski</email>
</author>
<published>2023-10-03T05:51:07+00:00</published>
<link rel='alternate' type='text/html' href='https://git.vlhl.dev/navi/wayland/wlroots.git/commit/?id=1b0694b79481643cb456d03e1be50a1b4f6ca591'/>
<id>urn:sha1:1b0694b79481643cb456d03e1be50a1b4f6ca591</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Use wl_container_of() instead of casts</title>
<updated>2023-07-11T18:16:17+00:00</updated>
<author>
<name>Simon Ser</name>
<email>contact@emersion.fr</email>
</author>
<published>2023-07-11T15:54:08+00:00</published>
<link rel='alternate' type='text/html' href='https://git.vlhl.dev/navi/wayland/wlroots.git/commit/?id=fe06e5f49a12174ceeb5e307bf5c3d7f623177d5'/>
<id>urn:sha1:fe06e5f49a12174ceeb5e307bf5c3d7f623177d5</id>
<content type='text'>
This slightly improves type safety.

The culprits were found with:

    git grep -E '\([a-z0-9_ ]+ \*\)\W?[a-z]'
</content>
</entry>
<entry>
<title>Use struct initializers instead of memset()</title>
<updated>2023-07-07T15:31:11+00:00</updated>
<author>
<name>Simon Ser</name>
<email>contact@emersion.fr</email>
</author>
<published>2023-07-07T12:34:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.vlhl.dev/navi/wayland/wlroots.git/commit/?id=7a9f8d8d6bf72fcea210552b7bec9b99f342f857'/>
<id>urn:sha1:7a9f8d8d6bf72fcea210552b7bec9b99f342f857</id>
<content type='text'>
This is a bit more type-safe.
</content>
</entry>
<entry>
<title>wl-drm: use resource interface</title>
<updated>2022-11-17T19:55:19+00:00</updated>
<author>
<name>Simon Ser</name>
<email>contact@emersion.fr</email>
</author>
<published>2022-11-11T14:54:54+00:00</published>
<link rel='alternate' type='text/html' href='https://git.vlhl.dev/navi/wayland/wlroots.git/commit/?id=f84f7c771061696b52e39b2d3d994de9db1dbd65'/>
<id>urn:sha1:f84f7c771061696b52e39b2d3d994de9db1dbd65</id>
<content type='text'>
Instead of hardcoding builtin resource types in
wlr_buffer_from_resource(), use the modular resource interface.
</content>
</entry>
<entry>
<title>linux-dmabuf-v1: use resource interface</title>
<updated>2022-11-17T19:55:19+00:00</updated>
<author>
<name>Simon Ser</name>
<email>contact@emersion.fr</email>
</author>
<published>2022-11-11T14:43:48+00:00</published>
<link rel='alternate' type='text/html' href='https://git.vlhl.dev/navi/wayland/wlroots.git/commit/?id=772066a17476bb4504b14e757d68deb9c62d0088'/>
<id>urn:sha1:772066a17476bb4504b14e757d68deb9c62d0088</id>
<content type='text'>
Instead of hardcoding builtin resource types in
wlr_buffer_from_resource(), use the modular resource interface.
</content>
</entry>
<entry>
<title>buffer: drop wlr_shm_client_buffer</title>
<updated>2022-11-15T16:30:00+00:00</updated>
<author>
<name>Simon Ser</name>
<email>contact@emersion.fr</email>
</author>
<published>2022-09-17T12:52:16+00:00</published>
<link rel='alternate' type='text/html' href='https://git.vlhl.dev/navi/wayland/wlroots.git/commit/?id=6c277e3c395996db690dd80dd79f651c3baec883'/>
<id>urn:sha1:6c277e3c395996db690dd80dd79f651c3baec883</id>
<content type='text'>
It's been superseded by wlr_shm.
</content>
</entry>
<entry>
<title>buffer: constify wlr_client_buffer_apply_damage()</title>
<updated>2022-11-11T23:11:17+00:00</updated>
<author>
<name>Simon Ser</name>
<email>contact@emersion.fr</email>
</author>
<published>2022-10-24T10:55:01+00:00</published>
<link rel='alternate' type='text/html' href='https://git.vlhl.dev/navi/wayland/wlroots.git/commit/?id=93597952aa346171d51bc6de7a894b1462c3cc6c'/>
<id>urn:sha1:93597952aa346171d51bc6de7a894b1462c3cc6c</id>
<content type='text'>
</content>
</entry>
</feed>
