Commit Graph

1419 Commits (master)

Author SHA1 Message Date
matthieu 763e4f241a fix libxcvt.pc 2023-09-06 20:36:50 +00:00
robert 6a599fd2aa fix ISO C++17 does not allow 'register' storage class specifier error with clang16
pulled from upstream: https://gitlab.freedesktop.org/mesa/glu/-/merge_requests/10

ok jsg@
2023-09-05 15:35:17 +00:00
aoyama dd4313439f Add pad_to_double() when the function allocates memories for 'double'
internally.

The functions wireToRawEvent() and copyRawEvent() get memories first,
then allocate memory blocks sequentially for several objects include
'double' from there.

On m88k, the memory area for 'double' should be 8-byte aligned, but
sizeof(XIRawEvent) is 60 and sizeof(out->valuators.mask_len) is 8.
In this case, allocated 'double' memory was not 8-byte aligned.

Because of this, 'xeyes' on luna88k was aborted with Bus Error right
after moving mouse for several years with sys/arch/m88k/m88k/trap.c
r.127.

Tested by me on luna88k, ok matthieu@
2023-08-02 13:57:24 +00:00
matthieu 508791166c fix drmGetMinorNameForFD(). tweaks and ok jsg@.
For the gpu n, the main device node is /dev/dri/card<n> and the
render device node is /dev/dri/renderD<n+drmGetMinorBase()> not
/dev/dri/renderD<n>
and miod@ checked that no port should be affected.
2023-07-06 07:21:30 +00:00
tb 93198764fc Disable neon asm on aarch64 to unbreak the build
with/ok matthieu
2023-07-05 15:52:50 +00:00
matthieu 48b14d4e87 Update to fontconfig 2.14.2 2023-07-03 13:18:52 +00:00
matthieu 765d57c14f Update to pixman 0.42.2 2023-07-03 13:09:25 +00:00
matthieu 874d89fb4e Update to xtrans 1.5.0 2023-07-03 12:53:59 +00:00
matthieu 01f781e04d Update libXaw to version 1.0.15 2023-07-03 11:30:13 +00:00
matthieu 9ba36148c6 Update to libXt 1.3.0.
minor bump because XtReallocArray() was added.
2023-07-03 09:20:46 +00:00
matthieu 741201b883 Update to xcb-util 0.4.1 2023-07-03 09:07:44 +00:00
matthieu cdb9aceaa6 Update to libxshmfence 1.3.2 2023-07-03 08:57:56 +00:00
matthieu 23f3968306 Update to libXvMC 1.0.13 2023-07-03 08:44:04 +00:00
matthieu 554720657f remove file missed in previous commit 2023-07-03 08:37:44 +00:00
matthieu e2db786c6c Update to libXv 1.0.12 2023-07-03 08:36:57 +00:00
matthieu dca2d3dc3b Update to libXrandr 1.5.3 2023-07-03 08:31:22 +00:00
matthieu 668895bbfa Update to libXi 1.8.1 2023-07-03 08:26:45 +00:00
matthieu 22b9919c99 Update to libXfixes 6.0.1 2023-07-03 08:21:09 +00:00
matthieu 2314a82cd4 Update to libXdamage 1.1.6 2023-07-03 08:16:49 +00:00
matthieu 56e38a96b1 Update to libXcomposite 0.4.6 2023-07-03 08:13:41 +00:00
matthieu dbccd1baf8 Fixes CVE-2023-3138: X servers could return values from XQueryExtension
that would cause Xlib to write entries out-of-bounds of the arrays to
store them, though this would only overwrite other parts of the Display
struct, not outside the bounds allocated for that structure.
2023-06-15 16:24:12 +00:00
matthieu a44f1fb411 Revert accicentally committed test/debug stuff. 2023-05-21 12:04:40 +00:00
matthieu d7e2c3cbc7 Update freetype to 2.13.0 2023-05-21 09:25:29 +00:00
matthieu ead56ff326 Update to libXpm 3.5.16 2023-05-07 16:07:42 +00:00
matthieu fd56d538ba Update to libXres 1.2.2 2023-05-07 15:10:57 +00:00
matthieu 7b3412d5a6 Update to libXxf86dga 1.1.6 2023-05-07 15:02:55 +00:00
matthieu e8ac3fa321 Update to libfontenc 1.1.7 2023-05-07 14:53:56 +00:00
matthieu 7c01e4437c Update to libxkbfile 1.1.2 2023-05-07 14:51:11 +00:00
matthieu 29a7a54bbd Remove libxkbui. Not built since july 2020. 2023-05-07 14:47:35 +00:00
matthieu 9951b9b2a0 Remove libxkbui. Not built since july 2020. 2023-05-07 14:45:36 +00:00
matthieu 459ebb1973 Update to libXdmcp 1.1.4 2023-05-07 14:41:56 +00:00
matthieu 58e048cd75 Update to libXScrnSaver 1.2.4 2023-05-07 14:31:38 +00:00
matthieu ce9672a589 Update to libSM 1.2.4 2023-05-07 14:22:26 +00:00
matthieu 0f003af80e Update to libICE 1.1.1 2023-05-07 14:22:02 +00:00
matthieu 0d081b8fa7 Update libXau to 1.0.11 2023-05-07 13:42:26 +00:00
matthieu e69d825113 Update libXft to 2.3.8 2023-05-07 08:02:59 +00:00
robert 3d7e94ce3a search for the vulkan drivers in the system library path instead of
loading them with a full path to utilitze the ld.so cache so that we
can pre-load these libraries for mesa before calling unveil(2)

ok jsg@
2023-05-01 06:46:26 +00:00
robert dac209564b add the build id for libvulkan_radeon just like the intel* modules
this fixes an unveil issue where mesa was trying to stat the module
to build an UUID because the build id was not available

ok jsg@
2023-04-24 14:17:55 +00:00
jsg 5f7ec4d460 Merge Mesa 22.3.7 2023-04-06 10:23:42 +00:00
jsg 175bb70352 Import Mesa 22.3.7 2023-04-06 10:08:20 +00:00
jsg fd832fbd7c reorder libEGL Makefile so ${X11BASE}/lib is searched after obj dir
problem spotted by, feedback from, and ok naddy@
2023-03-19 10:24:26 +00:00
jsg 687ad7826d revert upstream Mesa changes to remove non-TLS paths
https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17814
https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17213

Emulated TLS isn't enough when many shared libraries are involved.
This caused problems with some ports: kitty, calibre, qutebrowser.

reported by tb@ and others
2023-03-10 04:15:06 +00:00
jsg 70e55f99c0 build libmesa_util_sse41 on all archs
swrast_dri.so had an undefined reference to util_streaming_load_memcpy
on non-x86 archs.

Part of streaming-load-memcpy.c / libmesa_util_sse41.
When USE_SSE41 is not defined, memcpy() is used.

problem noticed at runtime on arm64 by mlarkin@
with and ok tb@
2023-03-03 06:32:18 +00:00
jsg 43a50021dc Merge libdrm 2.4.115 2023-02-27 12:46:20 +00:00
jsg 2c1d40de3f Import libdrm 2.4.115 2023-02-27 12:42:10 +00:00
jsg 71bb296071 enable the Mesa shader cache
Mesa supports caching compiled shaders in ~/.cache/mesa_shader_cache/.
This was disabled on OpenBSD to reduce the amount of syscalls and files
the web browser sandboxes would need to deal with.  The web browser
ports have now been updated to expect a shader cache.

Compared to GTK3, GTK4 makes heavy use of shaders.  With cached shaders,
GNOME programs start noticeably quicker.  Slow startup of GTK4 programs
on an Intel Alder Lake machine reported by aja@

ok matthieu@
2023-02-23 00:15:15 +00:00
jsg 146dd57114 intel/dev: Add another EHL pci id
f15f08c3de3d0eeca8abf208c8d2ddc0523b3c23 in mainline Mesa
2023-02-06 23:30:51 +00:00
jsg b91c5a5e52 intel/dev: remove invalid EHL pci id
a23e04b67367ae90e6fee06e4506bee3f00e6ae6 in mainline Mesa
2023-02-06 23:28:50 +00:00
jsg d559c33fb8 link against libpthread where libmesa_util_c11 is used
OpenBSD doesn't have c11 threads.h functions.  Instead Mesa's
replacements are used.

fixes build of graphics/piglit reported by naddy@
2023-01-31 03:29:36 +00:00
jsg 286474af33 only link libmesa_util_sse41 when WITH_SSE41=yes
from deraadt@
2023-01-29 12:20:31 +00:00