<feed xmlns='http://www.w3.org/2005/Atom'>
<title>wlroots.git/render/gles2, 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: 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>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>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>
<entry>
<title>render/gles2: add wlr_gles2_renderer_get_buffer_fbo()</title>
<updated>2023-12-05T17:57:43+00:00</updated>
<author>
<name>Simon Ser</name>
<email>contact@emersion.fr</email>
</author>
<published>2023-12-05T17:52:48+00:00</published>
<link rel='alternate' type='text/html' href='https://git.vlhl.dev/navi/wayland/wlroots.git/commit/?id=1f64f3925c384e9bf20ad813ee3a9195403606ea'/>
<id>urn:sha1:1f64f3925c384e9bf20ad813ee3a9195403606ea</id>
<content type='text'>
Replacement for wlr_gles2_renderer_get_current_fbo(). Wayfire uses
it for instance.
</content>
</entry>
<entry>
<title>renderer: Drop buffer binding</title>
<updated>2023-12-01T01:11:50+00:00</updated>
<author>
<name>Alexander Orzechowski</name>
<email>alex@ozal.ski</email>
</author>
<published>2023-08-20T01:39:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.vlhl.dev/navi/wayland/wlroots.git/commit/?id=d3a339a03e320c397696d3d0f49567670146a7a4'/>
<id>urn:sha1:d3a339a03e320c397696d3d0f49567670146a7a4</id>
<content type='text'>
</content>
</entry>
<entry>
<title>render: Nuke old read pixels API</title>
<updated>2023-12-01T01:01:12+00:00</updated>
<author>
<name>Alexander Orzechowski</name>
<email>alex@ozal.ski</email>
</author>
<published>2023-06-19T06:14:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.vlhl.dev/navi/wayland/wlroots.git/commit/?id=3ed1268f64fd736712c2de1bf522d42d6694e3cc'/>
<id>urn:sha1:3ed1268f64fd736712c2de1bf522d42d6694e3cc</id>
<content type='text'>
Sadly, the new API is not backwards compatible with the old API. Since
we have already switched all users in wlroots to the new API compositors
are already practically mandated to implement the new API. Let's get rid
of the old one since there is no point.
</content>
</entry>
<entry>
<title>render: Implement texture_preferred_read_format</title>
<updated>2023-12-01T01:01:12+00:00</updated>
<author>
<name>Alexander Orzechowski</name>
<email>alex@ozal.ski</email>
</author>
<published>2023-12-01T01:01:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.vlhl.dev/navi/wayland/wlroots.git/commit/?id=c5a3c5ca4cc4ee664bb4b4edad77dba8c36b0a21'/>
<id>urn:sha1:c5a3c5ca4cc4ee664bb4b4edad77dba8c36b0a21</id>
<content type='text'>
</content>
</entry>
<entry>
<title>render/gles2: Implement texture_read_pixels</title>
<updated>2023-12-01T00:56:41+00:00</updated>
<author>
<name>Alexander Orzechowski</name>
<email>alex@ozal.ski</email>
</author>
<published>2023-12-01T00:56:41+00:00</published>
<link rel='alternate' type='text/html' href='https://git.vlhl.dev/navi/wayland/wlroots.git/commit/?id=e7055b484085765bb4872ffbe3ccce18d16a129b'/>
<id>urn:sha1:e7055b484085765bb4872ffbe3ccce18d16a129b</id>
<content type='text'>
Also get rid of gles2_texture.owns_texture. We only use the tex/fbo
</content>
</entry>
</feed>
