Commit graph

1175 commits

Author SHA1 Message Date
Arseny Kapoulkine
4c530cb6a9 Update meshoptimizer to v0.23
Also remove the reference to a patch that was removed in a prior commit.

This includes improvements to simplification wrt attribute metric for certain
edge cases.
2025-05-23 06:08:25 +01:00
Thaddeus Crews
4daad86a86
Merge pull request #106562 from zeux/lod-metrics
Adjust LOD selection metrics to use attribute error
2025-05-22 12:15:03 -05:00
Aaron Franke
15de1d6c35
Use Grisu2 algorithm in String::num_scientific to fix serializing 2025-05-22 09:13:16 -07:00
Thaddeus Crews
a179a07fae
Merge pull request #106615 from DeeJayLSP/godot-certs-04-25
certs: Sync with upstream as of Apr 8 2025
2025-05-20 11:37:25 -05:00
DeeJayLSP
f5eaf2a576 certs: Sync with upstream as of Apr 8 2025 2025-05-19 22:50:06 -03:00
DeeJayLSP
bc192598e5 Update qoa.h to latest git 2025-05-19 13:33:05 -03:00
Arseny Kapoulkine
6190d412d3 Adjust LOD selection metrics to use attribute error
- Revert meshoptimizer patch; the metric used for LOD selection now
incorporates attribute error
- Since LOD selection is now aware of attribute deviation, we don't
need to use a higher normal weight
- To prevent normal creases from creating input triangles with very
large normal deviation, reduce default normal merge threshold
- Since we now use combined metric to select LODs, we never need LODs
with error>1 as these should not be selected if the mesh is visible.
2025-05-18 17:38:54 +03:00
Thaddeus Crews
202b1176a4
Merge pull request #106251 from ArchercatNEO/wayland-cursor-shape
[Wayland] Implement the cursor-shape-v1 protocol
2025-05-16 10:29:02 -05:00
ArchercatNEO
3cd7b5b9a8 [Wayland] Implement the cursor-shape-v1 protocol
Related #106229. The cursor-shape protocol allows us to not have to deal with cursor theming and instead depend on the
compositor for it.
This still does not quite solve the issue when the compositor doesn't implement the protocol
(or running under the x11 backend) but for gnome/kde and a few more this should resolve things.
2025-05-15 15:42:48 +01:00
Daniel Kinsman
2a89ec5ccd Fix libjpeg-turbo not working on 32-bit builds 2025-05-15 09:20:35 +10:00
Thaddeus Crews
f70420a8b1
Merge pull request #106346 from mihe/jolt/scu-support
Fix SCU build issues related to Jolt Physics
2025-05-13 16:22:26 -05:00
Thaddeus Crews
88c0552077
Merge pull request #104462 from solidpixel/astcenc_5.3.0
Update astcenc to the upstream 5.3.0 release
2025-05-13 16:22:10 -05:00
Mikael Hermansson
9cea7ebc91 Fix SCU build issues related to Jolt Physics 2025-05-13 12:34:55 +02:00
Thaddeus Crews
0bf9d88797
Merge pull request #106167 from Faless/mbedtls/fix_enable_threading
mbedTLS: Fix concurrency issues with TLS
2025-05-09 11:29:17 -05:00
Fabio Alessandrelli
2c789788c0 mbedTLS: Fix concurrency issues with TLS
When we first integrated mbedTLS, we decided not to enable
MBEDTLS_THREADING_C (which adds mutex locking to calls modifying the
state), and instead to simply create separate contexts ("states") for
each connection.

This worked fine until recently.
Sadly, mbedTLS 3 added a global state for the new PSA crypto
functionalities (which are required to support TLSv1.3).
This results in TLSv1.3 connections to access and modify the global
state concurrently when running in threads.

This commit enables MBEDTLS_THREADING_C, and MBEDTLS_THREADING_C_ALT to
provide a generic Godot implementation using the engine Mutex class.
2025-05-08 11:45:00 +02:00
Rémi Verschelde
9419ef2f34
basis_universal: Add missing ctype.h include to fix MSVC build
Seems like latest MSVC tweaked some headers and we no longer have definitions
for `isdigit` and `isalpha` without an explicit include.
2025-05-07 23:21:53 +02:00
Daniel Kinsman
a0cc41b5ed
Use libjpeg-turbo for improved jpg compatibility and speed
Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
2025-05-02 11:47:56 +02:00
Thaddeus Crews
c00e6c83f1
Merge pull request #105856 from akien-mga/basis_universal-rediff-patches
basis_universal: Rediff patches, remove Windows encoding fix
2025-04-30 16:51:50 -05:00
Adam Scott
be0bf71506
doctest: Patch for clang warning about replacing <ciso646> by <version> 2025-04-29 13:17:21 -04:00
Rémi Verschelde
151e2ecc4b
basis_universal: Rediff patches, remove Windows encoding fix
Convert the file to UTF-8 properly instead.
2025-04-28 10:27:32 +02:00
Thaddeus Crews
be994d59c9
Merge pull request #103968 from Chubercik/basis_universal-1.60
basis_universal: Update to 1.60
2025-04-27 19:21:17 -05:00
Thaddeus Crews
ea5548f7d5
Merge pull request #101348 from akien-mga/libwebp-1.5.0
libwebp: Update to 1.5.0
2025-04-25 11:35:59 -05:00
Thaddeus Crews
ffdffe03c4
Merge pull request #101345 from akien-mga/embree-4.3.3
embree: Update to 4.4.0
2025-04-25 11:35:57 -05:00
Thaddeus Crews
57b127cad3
Merge pull request #104912 from akien-mga/mbedtls-msan-disable-asm
mbedtls: Disable ASM when compiling with LLVM MemorySanitizer (MSAN)
2025-04-24 17:18:49 -05:00
Rémi Verschelde
57640dd806
embree: Update to 4.4.0 2025-04-24 17:51:03 +02:00
Rémi Verschelde
01f88ff138
libwebp: Update to 1.5.0 2025-04-24 16:24:51 +02:00
Jorrit Rouwe
07fcb82958 32-bit MinGW g++ doesn't call the correct overload for the new operator when a type is 16 bytes aligned.
It uses the non-aligned version, which on 32 bit platforms usually returns an 8 byte aligned block. We therefore default to 16 byte aligned allocations when the regular new operator is used.

Fixes: godotengine/godot#105455
2025-04-23 22:12:43 +02:00
Thaddeus Crews
e90fb666a2
Merge pull request #105093 from Chubercik/thorvg-0.15.12
thorvg: Update to 0.15.12
2025-04-11 09:51:05 -05:00
Jakub Marcowski
0863a11cee
thorvg: Update to 0.15.12 2025-04-10 22:29:18 +02:00
Thaddeus Crews
44190d4060
Merge pull request #105096 from Chubercik/ufbx-0.18.0
ufbx: Update to 0.18.0
2025-04-09 18:11:52 -05:00
Pāvels Nadtočajevs
4310cb82b8
AccessKit integration for macOS, Linux, and Windows. 2025-04-08 20:25:47 +03:00
Jakub Marcowski
533daa5552
ufbx: Update to 0.18.0 2025-04-06 15:04:27 +02:00
Thaddeus Crews
2fe029ded8
Merge pull request #104449 from mihe/jolt/v5.3.0
Jolt: Update to 5.3.0
2025-04-04 09:29:20 -05:00
Rémi Verschelde
072e77ab40
mbedtls: Disable ASM when compiling with LLVM MemorySanitizer (MSAN) 2025-04-02 12:16:58 +02:00
Thaddeus Crews
d032c1170a
Merge pull request #104521 from Chubercik/pcre2-10.45
pcre2: Update to 10.45
2025-03-25 11:09:11 -05:00
Fabio Alessandrelli
0b0655aee4 mbedTLS: Update to version 3.6.3 2025-03-24 19:11:37 +01:00
Jakub Marcowski
2c3e302c75
pcre2: Update to 10.45 2025-03-23 17:22:09 +01:00
Peter Harris
75ce42d463 Update astcenc to the upstream 5.3.0 release
This is mostly a maintenance update that brings the compressor inline
with the recently published Khronos Data Format Specification 1.4
release which clarified some ambiguity in the specification. This update
also gives minor codec optimizations, bug fixes, and image quality
improvements.

The biggest improvement for Godot is that builds using MSVC cl.exe will
now correctly default to the SSE2-optimized backend rather than the
reference C backend. This makes compression more than 3 times faster.
Builds using other compilers (GCC, LLVM/Clang) were not impacted by the
underlying issue, and see no performance uplift.
2025-03-21 16:02:50 -07:00
Mikael Hermansson
5d00161040 Jolt: Update to 5.3.0 2025-03-21 17:17:55 +01:00
Jakub Marcowski
8e2b05e507
thorvg: Update to 0.15.11 2025-03-18 09:50:25 +01:00
Jakub Marcowski
69b072072c
libpng: Update to 1.6.47 2025-03-17 13:21:03 +01:00
Pāvels Nadtočajevs
a25696fd90
ICU4C: Update to version 77.1 2025-03-14 07:50:02 +02:00
Jakub Marcowski
246b062bd6
basis_universal: Update to 1.60 2025-03-11 13:43:00 +01:00
Thaddeus Crews
1202eee590
Merge pull request #102661 from Chubercik/clipper2-1.5.2
clipper2: Update to 1.5.2
2025-03-10 21:05:51 -05:00
Thaddeus Crews
d7c9c3a5f6
Merge pull request #102538 from Chubercik/ufbx-0.16.0
ufbx: Update to 0.17.1
2025-03-10 21:05:50 -05:00
Thaddeus Crews
3f759f488d
Merge pull request #103491 from bruvzg/hb1040
Update HarfBuzz to 10.4.0
2025-03-10 21:05:48 -05:00
Thaddeus Crews
669b055d68
Merge pull request #103492 from bruvzg/ft2133
Update FreeType to 2.13.3
2025-03-10 21:05:47 -05:00
Thaddeus Crews
134da37497
Merge pull request #102859 from berarma/theora_yuv_fix
Theora: Fix YUV422/444 to RGB conversion
2025-03-05 12:08:12 -06:00
Bernat Arlandis
0882702827 Theora: Fix YUV422/444 to RGB. Fixes #87705
The last line wasn't being converted thus was missing in the resulting frame.
2025-03-04 22:49:18 +01:00
Matias N. Goldberg
89ea5b3d00 Update to latest version of Swappy
Fixes #103294
2025-03-03 20:43:14 -03:00