<feed xmlns='http://www.w3.org/2005/Atom'>
<title>wlroots.git/types/scene, 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-20T10:04:46+00:00</updated>
<entry>
<title>scene: ignore duplicate wlr_scene_output_layout_add_output() calls</title>
<updated>2024-02-20T10:04:46+00:00</updated>
<author>
<name>Simon Ser</name>
<email>contact@emersion.fr</email>
</author>
<published>2024-02-20T10:04:46+00:00</published>
<link rel='alternate' type='text/html' href='https://git.vlhl.dev/navi/wayland/wlroots.git/commit/?id=431e8a7fd7d459d740e14f3ad9fd7a6aab62eeb8'/>
<id>urn:sha1:431e8a7fd7d459d740e14f3ad9fd7a6aab62eeb8</id>
<content type='text'>
An assert was added in [1] to avoid tracking the same output multiple
times. However, this is cumbersome for compositors [2]: they need to
add a special check for this. Additionally, this is inconsistent with
wlr_output_layout_add().

[1]: https://gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/4380
[2]: https://github.com/cage-kiosk/cage/pull/315
</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>scene: release shm buffers once uploaded</title>
<updated>2024-01-27T12:21:54+00:00</updated>
<author>
<name>Simon Ser</name>
<email>contact@emersion.fr</email>
</author>
<published>2023-11-21T15:39:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.vlhl.dev/navi/wayland/wlroots.git/commit/?id=4ec901bb33bdac70356bf00a23133d81ca0d10df'/>
<id>urn:sha1:4ec901bb33bdac70356bf00a23133d81ca0d10df</id>
<content type='text'>
Once a shm buffer is uploaded there's no reason for wlr_scene_buffer
to keep it locked any further. Allow the compositor to re-use it.
</content>
</entry>
<entry>
<title>scene: drop wlr_scene_set_presentation()</title>
<updated>2023-12-27T12:41:20+00:00</updated>
<author>
<name>Simon Ser</name>
<email>contact@emersion.fr</email>
</author>
<published>2023-12-05T15:09:16+00:00</published>
<link rel='alternate' type='text/html' href='https://git.vlhl.dev/navi/wayland/wlroots.git/commit/?id=ab924064f230cce2aea2e45bd113adea9d37f286'/>
<id>urn:sha1:ab924064f230cce2aea2e45bd113adea9d37f286</id>
<content type='text'>
</content>
</entry>
<entry>
<title>presentation-time: drop wlr_presentation arg</title>
<updated>2023-12-27T12:41:01+00:00</updated>
<author>
<name>Simon Ser</name>
<email>contact@emersion.fr</email>
</author>
<published>2023-12-05T15:06:51+00:00</published>
<link rel='alternate' type='text/html' href='https://git.vlhl.dev/navi/wayland/wlroots.git/commit/?id=d68ba9d6c2bca6c5e9f7db1b6043d6e742b77bbd'/>
<id>urn:sha1:d68ba9d6c2bca6c5e9f7db1b6043d6e742b77bbd</id>
<content type='text'>
There can only be a single presentation-time global advertised to
clients, this it's unnecessary to pass around the wlr_presentation
pointer.
</content>
</entry>
<entry>
<title>wlr_scene: fix transformed outputs backend damage clearing</title>
<updated>2023-12-04T12:06:35+00:00</updated>
<author>
<name>Alexander Orzechowski</name>
<email>alex@ozal.ski</email>
</author>
<published>2023-12-04T12:06:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git.vlhl.dev/navi/wayland/wlroots.git/commit/?id=62169bf5ac4c7ff4d384e5fd286f07be191830d6'/>
<id>urn:sha1:62169bf5ac4c7ff4d384e5fd286f07be191830d6</id>
<content type='text'>
When we cleared the pending backend damage when the output committed,
we would not take into account the output transform. It's easiest to fix
this by just changing pending_commit_damage to always have transformed
coordinates.
</content>
</entry>
<entry>
<title>wlr_scene: Apply output damage once</title>
<updated>2023-12-04T11:58:35+00:00</updated>
<author>
<name>Alexander Orzechowski</name>
<email>alex@ozal.ski</email>
</author>
<published>2023-12-04T11:58:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git.vlhl.dev/navi/wayland/wlroots.git/commit/?id=364d7cba42cc450cc31058cef8fb11147d8a59fb'/>
<id>urn:sha1:364d7cba42cc450cc31058cef8fb11147d8a59fb</id>
<content type='text'>
We would apply it twice if we failed direct scanout. Once when we attempt
direct scanout and again when we composite.
</content>
</entry>
<entry>
<title>wlr_scene: Don't damage whole damage ring when exiting direct scanout</title>
<updated>2023-12-03T05:29:05+00:00</updated>
<author>
<name>Alexander Orzechowski</name>
<email>alex@ozal.ski</email>
</author>
<published>2023-11-29T19:49:08+00:00</published>
<link rel='alternate' type='text/html' href='https://git.vlhl.dev/navi/wayland/wlroots.git/commit/?id=fe8916fef0bd5d0846dfadd5f8c49ac57beedc9a'/>
<id>urn:sha1:fe8916fef0bd5d0846dfadd5f8c49ac57beedc9a</id>
<content type='text'>
Direct scanout damage will just accumulate on the damage ring while in
direct scanout and properly damage when we exit anyway. On the flip side
since we now manage backend damage submission ourselves, this won't break
that either.
</content>
</entry>
<entry>
<title>wlr_scene: Use wlr_damage_ring_rotate_buffer()</title>
<updated>2023-12-03T05:29:05+00:00</updated>
<author>
<name>Alexander Orzechowski</name>
<email>alex@ozal.ski</email>
</author>
<published>2023-11-29T19:51:47+00:00</published>
<link rel='alternate' type='text/html' href='https://git.vlhl.dev/navi/wayland/wlroots.git/commit/?id=0619c99dc7eec66f4acda2720ec98a44abab6a38'/>
<id>urn:sha1:0619c99dc7eec66f4acda2720ec98a44abab6a38</id>
<content type='text'>
Compositors who use _build_state are no longer required to call
damage_ring_rotate themselves. This is a minor breaking change.
</content>
</entry>
</feed>
