1
0
Fork 0
Commit Graph

1242 Commits

Author SHA1 Message Date
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
Pāvels Nadtočajevs c5011d860d Update FreeType to 2.13.3 2025-03-03 08:17:09 +02:00
Pāvels Nadtočajevs ec10d38d2f Update HarfBuzz to 10.4.0 2025-03-03 07:55:00 +02:00
Jakub Marcowski 100001c807
ufbx: Update to 0.17.1 2025-03-02 11:37:32 +01:00
Fabio Alessandrelli af0bc17c4f [mbedTLS] Integrate TLS handshake defragmentation PR
Upstream PR GH-9981
2025-02-24 13:44:40 +01:00
bruvzg 961207dc6f Fix `view->base` pointer overwrite. 2025-02-15 23:25:43 +02:00
bruvzg bacab7f822 Revert "libbacktrace: Update to upstream commit 1db85642e"
This reverts commit 51730391c6.
2025-02-15 23:25:43 +02:00
Jakub Marcowski 0c15c106e0
thorvg: Update to 0.15.10 2025-02-14 13:04:11 +01:00
Jakub Marcowski 100225c081
clipper2: Update to 1.5.2 2025-02-10 16:42:41 +01:00
Jorrit Rouwe 3e608b8b14 No longer limiting max voided features/delayed results 2025-02-09 11:52:19 +01:00
Rémi Verschelde 91907a89f7 Thirdparty: Harmonize patches to document downstream changes 2025-02-06 01:40:03 +01:00
Rémi Verschelde ceea97fc05 Betsy: Consolidate documentation in module folder and cleanup SCsub
Also remove unused `UavCrossPlatform_piece_all.glsl`.
2025-01-31 23:45:37 +01:00
Stefan Cristian B. 4462363e1e jpeg-compressor: Fix include when compiling with Clang and `FORTIFY_SOURCE >= 1` 2025-01-31 10:35:28 +01:00
Rémi Verschelde 1823460787 Add missing `cstdint` includes for GCC 15 2025-01-25 14:59:28 +01:00
Mikael Hermansson 41afe2de56 Update Jolt Physics `BoxShape` to allow for zero-sized boxes 2025-01-22 23:46:28 +01:00
Thaddeus Crews df7572f8bc
Merge pull request #101347 from akien-mga/thorvg-0.15.8
thorvg: Update to 0.15.8
2025-01-16 17:17:44 -06:00
Rémi Verschelde bee5de61de Merge pull request #100365 from BlueCube3310/etc-decompress
Add support for decompressing ETC2
2025-01-14 00:21:55 +01:00
BlueCube3310 c4fd9f9733 Add etcpak decompression functions 2025-01-12 18:48:03 +01:00
Rémi Verschelde 85fbf7ca84 Merge pull request #101367 from akien-mga/msdfgen-1.12
msdfgen: Update to 1.12
2025-01-10 23:06:25 +01:00
Rémi Verschelde c97c7b73e6 msdfgen: Update to 1.12 2025-01-09 22:03:43 +01:00
Rémi Verschelde 269b1dfa03 harfbuzz: Update to 10.1.0 2025-01-09 21:04:11 +01:00
Rémi Verschelde a024393f71 Merge pull request #101362 from BlueCube3310/etcpak-v200
etcpak: Sync with upstream 2.0
2025-01-09 20:51:44 +01:00
Rémi Verschelde 1730070baf Merge pull request #101351 from akien-mga/manifold-3.0.1
manifold: Update to 3.0.1
2025-01-09 20:51:40 +01:00
BlueCube3310 84c53607ab Etcpak: Sync with upstream 2025-01-09 19:29:58 +01:00
Rémi Verschelde 15741d45ca manifold: Update to 3.0.1 2025-01-09 16:13:08 +01:00
Rémi Verschelde 6be45d2a71 thorvg: Update to 0.15.8 2025-01-09 15:05:20 +01:00
Rémi Verschelde f68d55bcda libpng: Update to 1.6.45 2025-01-09 15:00:02 +01:00
Pāvels Nadtočajevs 3d60ce9389 [Export] Allow using ICU data from export templates instead of editor embedded data. 2025-01-07 08:15:09 +02:00
Rémi Verschelde 4ef55ba75b
Merge pull request #99998 from akien-mga/tinyexr-1.0.9
tinyexr: Update to upstream 1.0.9
2025-01-03 00:48:17 +01:00
Rémi Verschelde 72839d0085
Merge pull request #99996 from akien-mga/libpng-1.6.44
libpng: Update to upstream 1.6.44
2025-01-03 00:48:13 +01:00
Rémi Verschelde 4727f0707b
Jolt: Update to commit f094082aa, adding RISC-V, PPC64 and LoongArch support
Fixes #100557.
2024-12-21 15:15:50 +01:00
Thaddeus Crews effea567a5
Merge pull request #99820 from stuartcarnie/issue_99682
Metal: Add support for 2017 era iOS devices
2024-12-19 20:00:13 -06:00
Thaddeus Crews 3feaf6fb76
Merge pull request #100274 from akien-mga/libbacktrace-1db8564
libbacktrace: Update to upstream commit 1db85642e
2024-12-19 19:59:43 -06:00
Stuart Carnie 952cd796ff Metal: Support Apple4 GPUs (2017 era iOS devices)
Closes #99682
2024-12-18 09:14:38 -07:00
Thaddeus Crews 38775731e8
Merge pull request #99965 from Riteo/unstable-galore
Wayland: Add support for xdg-foreign-unstable-v2
2024-12-11 17:36:07 -06:00
Thaddeus Crews 84da7c9cf5
Merge pull request #99997 from akien-mga/mbedtls-3.6.2
mbedtls: Update to upstream 3.6.2
2024-12-11 17:35:31 -06:00
Rémi Verschelde 51730391c6
libbacktrace: Update to upstream commit 1db85642e
1db85642e3
2024-12-11 18:50:48 +01:00
Pāvels Nadtočajevs a8c8eca74a [Windows] Fix loading debug symbol files over 2GB. 2024-12-11 17:42:47 +02:00
Rémi Verschelde 44dfa7e710
Merge pull request #99895 from mihe/jolt-physics
Add Jolt Physics as an alternative 3D physics engine
2024-12-11 14:53:57 +01:00
Mikael Hermansson d470c2ac6a Add Jolt Physics as an alternative 3D physics engine
Co-authored-by: Jorrit Rouwe <jrouwe@gmail.com>
2024-12-11 13:57:25 +01:00
Thaddeus Crews 66dea152b5
Merge pull request #99257 from darksylinc/matias-TheForge-pr04-excluded-ubo+render_opt
Improvements from TheForge
2024-12-10 14:15:55 -06:00
Riteo 65c28ed31d Wayland: Add support for xdg-foreign-unstable-v2
The v1 version is deprecated and bound to be removed in the future from
all compositors. This patch adds a v1/v2 designator to everything
related to the protocol and prefers the v2 protocol if both are
available.

Additionally, renames the event handler to follow the Wayland interface
name, for consistency with the rest of the codebase.
2024-12-10 01:29:46 +01:00
Matias N. Goldberg c77cbf096b Improvements from TheForge (see description)
The work was performed by collaboration of TheForge and Google. I am
merely splitting it up into smaller PRs and cleaning it up.

This is the most "risky" PR so far because the previous ones have been
miscellaneous stuff aimed at either [improve
debugging](https://github.com/godotengine/godot/pull/90993) (e.g. device
lost), [improve Android
experience](https://github.com/godotengine/godot/pull/96439) (add Swappy
for better Frame Pacing + Pre-Transformed Swapchains for slightly better
performance), or harmless [ASTC
improvements](https://github.com/godotengine/godot/pull/96045) (better
performance by simply toggling a feature when available).

However this PR contains larger modifications aimed at improving
performance or reducing memory fragmentation. With greater
modifications, come greater risks of bugs or breakage.

Changes introduced by this PR:

TBDR GPUs (e.g. most of Android + iOS + M1 Apple) support rendering to
Render Targets that are not backed by actual GPU memory (everything
stays in cache). This works as long as load action isn't `LOAD`, and
store action must be `DONT_CARE`. This saves VRAM (it also makes
painfully obvious when a mistake introduces a performance regression).
Of particular usefulness is when doing MSAA and keeping the raw MSAA
content is not necessary.

Some GPUs get faster when the sampler settings are hard-coded into the
GLSL shaders (instead of being dynamically bound at runtime). This
required changes to the GLSL shaders, PSO creation routines, Descriptor
creation routines, and Descriptor binding routines.

 - `bool immutable_samplers_enabled = true`

Setting it to false enforces the old behavior. Useful for debugging bugs
and regressions.

Immutable samplers requires that the samplers stay... immutable, hence
this boolean is useful if the promise gets broken. We might want to turn
this into a `GLOBAL_DEF` setting.

Instead of creating dozen/hundreds/thousands of `VkDescriptorSet` every
frame that need to be freed individually when they are no longer needed,
they all get freed at once by resetting the whole pool. Once the whole
pool is no longer in use by the GPU, it gets reset and its memory
recycled. Descriptor sets that are created to be kept around for longer
or forever (i.e. not created and freed within the same frame) **must
not** use linear pools. There may be more than one pool per frame. How
many pools per frame Godot ends up with depends on its capacity, and
that is controlled by
`rendering/rendering_device/vulkan/max_descriptors_per_pool`.

- **Possible improvement for later:** It should be possible for Godot
to adapt to how many descriptors per pool are needed on a per-key basis
(i.e. grow their capacity like `std::vector` does) after rendering a few
frames; which would be better than the current solution of having a
single global value for all pools (`max_descriptors_per_pool`) that the
user needs to tweak.

 - `bool linear_descriptor_pools_enabled = true`

Setting it to false enforces the old behavior. Useful for debugging bugs
and regressions.
Setting it to false is required when workarounding driver bugs (e.g.
Adreno 730).

A ridiculous optimization. Ridiculous because the original code
should've done this in the first place. Previously Godot was doing the
following:

  1. Create a command buffer **pool**. One per frame.
  2. Create multiple command buffers from the pool in point 1.
3. Call `vkBeginCommandBuffer` on the cmd buffer in point 2. This
resets the cmd buffer because Godot requests the
`VK_COMMAND_POOL_CREATE_RESET_COMMAND_BUFFER_BIT` flag.
  4. Add commands to the cmd buffers from point 2.
  5. Submit those commands.
6. On frame N + 2, recycle the buffer pool and cmd buffers from pt 1 &
2, and repeat from step 3.

The problem here is that step 3 resets each command buffer individually.
Initially Godot used to have 1 cmd buffer per pool, thus the impact is
very low.

But not anymore (specially with Adreno workarounds to force splitting
compute dispatches into a new cmd buffer, more on this later). However
Godot keeps around a very low amount of command buffers per frame.

The recommended method is to reset the whole pool, to reset all cmd
buffers at once. Hence the new steps would be:

  1. Create a command buffer **pool**. One per frame.
  2. Create multiple command buffers from the pool in point 1.
3. Call `vkBeginCommandBuffer` on the cmd buffer in point 2, which is
already reset/empty (see step 6).
  4. Add commands to the cmd buffers from point 2.
  5. Submit those commands.
6. On frame N + 2, recycle the buffer pool and cmd buffers from pt 1 &
2, call `vkResetCommandPool` and repeat from step 3.

**Possible issues:** @dariosamo added `transfer_worker` which creates a
command buffer pool:

```cpp
transfer_worker->command_pool =
driver->command_pool_create(transfer_queue_family,
RDD::COMMAND_BUFFER_TYPE_PRIMARY);
```

As expected, validation was complaining that command buffers were being
reused without being reset (that's good, we now know Validation Layers
will warn us of wrong use).
I fixed it by adding:

```cpp
void RenderingDevice::_wait_for_transfer_worker(TransferWorker
*p_transfer_worker) {
	driver->fence_wait(p_transfer_worker->command_fence);
	driver->command_pool_reset(p_transfer_worker->command_pool); //
! New line !
```

**Secondary cmd buffers are subject to the same issue but I didn't alter
them. I talked this with Dario and he is aware of this.**
Secondary cmd buffers are currently disabled due to other issues (it's
disabled on master).

 - `bool RenderingDeviceCommons::command_pool_reset_enabled`

Setting it to false enforces the old behavior. Useful for debugging bugs
and regressions.

There's no other reason for this boolean. Possibly once it becomes well
tested, the boolean could be removed entirely.

Adds `command_bind_render_uniform_sets` and
`add_draw_list_bind_uniform_sets` (+ compute variants).

It performs the same as `add_draw_list_bind_uniform_set` (notice
singular vs plural), but on multiple consecutive uniform sets, thus
reducing graph and draw call overhead.

 - `bool descriptor_set_batching = true;`

Setting it to false enforces the old behavior. Useful for debugging bugs
and regressions.

There's no other reason for this boolean. Possibly once it becomes well
tested, the boolean could be removed entirely.

Godot currently does the following:

 1. Fill the entire cmd buffer with commands.
 2. `submit()`
    - Wait with a semaphore for the swapchain.
- Trigger a semaphore to indicate when we're done (so the swapchain
can submit).
 3. `present()`

The optimization opportunity here is that 95% of Godot's rendering is
done offscreen.
Then a fullscreen pass copies everything to the swapchain. Godot doesn't
practically render directly to the swapchain.

The problem with this is that the GPU has to wait for the swapchain to
be released **to start anything**, when we could start *much earlier*.
Only the final blit pass must wait for the swapchain.

TheForge changed it to the following (more complicated, I'm simplifying
the idea):

 1. Fill the entire cmd buffer with commands.
 2. In `screen_prepare_for_drawing` do `submit()`
    - There are no semaphore waits for the swapchain.
    - Trigger a semaphore to indicate when we're done.
3. Fill a new cmd buffer that only does the final blit to the
swapchain.
 4. `submit()`
    - Wait with a semaphore for the submit() from step 2.
- Wait with a semaphore for the swapchain (so the swapchain can
submit).
- Trigger a semaphore to indicate when we're done (so the swapchain
can submit).
 5. `present()`

Dario discovered this problem independently while working on a different
platform.

**However TheForge's solution had to be rewritten from scratch:** The
complexity to achieve the solution was high and quite difficult to
maintain with the way Godot works now (after Übershaders PR).
But on the other hand, re-implementing the solution became much simpler
because Dario already had to do something similar: To fix an Adreno 730
driver bug, he had to implement splitting command buffers. **This is
exactly what we need!**. Thus it was re-written using this existing
functionality for a new purpose.

To achieve this, I added a new argument, `bool p_split_cmd_buffer`, to
`RenderingDeviceGraph::add_draw_list_begin`, which is only set to true
by `RenderingDevice::draw_list_begin_for_screen`.

The graph will split the draw list into its own command buffer.

 - `bool split_swapchain_into_its_own_cmd_buffer = true;`

Setting it to false enforces the old behavior. This might be necessary
for consoles which follow an alternate solution to the same problem.
If not, then we should consider removing it.

PR #90993 added `shader_destroy_modules()` but it was not actually in
use.

This PR adds several places where `shader_destroy_modules()` is called
after initialization to free up memory of SPIR-V structures that are no
longer needed.
2024-12-09 11:49:28 -03:00
Jakub Marcowski 2481632b3c
thorvg: Regenerate and apply patches 2024-12-07 13:11:37 +01:00
Thaddeus Crews 4b91e98656
Merge pull request #99959 from fire/vsk-csg-error-and-ctd
Print better manifold errors and avoid crash on non manifold csg input.
2024-12-05 14:12:25 -06:00
Thaddeus Crews b34a643404
Merge pull request #96346 from DeeJayLSP/qoa-opt
Use `qoa.c` and custom compress procedure
2024-12-05 14:12:15 -06:00
Thaddeus Crews 30b32396de
Merge pull request #100053 from bruvzg/font_change
Change default Arabic font to Vazirmatn.
2024-12-05 14:12:14 -06:00
Thaddeus Crews 49e033f8e2
Merge pull request #100047 from MBCX/fix-freebsd-compilation
Make Godot compile on `FreeBSD`
2024-12-05 14:12:11 -06:00
Thaddeus Crews ec7ffdcb15
Merge pull request #100008 from Chubercik/thorvg-0.15.5
thorvg: Update to 0.15.5
2024-12-05 14:11:50 -06:00
Thaddeus Crews 755f600173
Merge pull request #99999 from akien-mga/ufbx-0.15.0
ufbx: Update to upstream 0.15.0
2024-12-05 14:11:46 -06:00
MBCX 6bc80effbb Make Godot compile on FreeBSD 2024-12-05 12:33:55 -04:00
DeeJayLSP afd68d785b Use `qoa.c` and custom compress procedure 2024-12-05 13:20:09 -03:00
Pāvels Nadtočajevs 06cae04b87 Change default Arabic font to Vazirmatn. 2024-12-05 16:26:52 +02:00
Jakub Marcowski 5318008ce6
thorvg: Update to 0.15.5 2024-12-04 17:24:43 +01:00
K. S. Ernest (iFire) Lee 6cf1d3c13e Print better manifold errors and avoid crash on non manifold csg input.
* Manifold does not have a snap property.
* Tolerance means simplification amount.
* CSG snap has been removed
* Add better error messages.
* Verbose print manifold meshgl64 properties as json.
* Update manifold for error fixes
2024-12-03 20:19:47 -08:00
Rémi Verschelde 4051b43879
ufbx: Update to upstream 0.15.0 2024-12-04 02:19:04 +01:00
Rémi Verschelde d5e4d2f942
tinyexr: Update to upstream 1.0.9 2024-12-04 02:16:59 +01:00
Rémi Verschelde 56922db85b
mbedtls: Update to upstream 3.6.2 2024-12-04 02:14:05 +01:00
Rémi Verschelde d471210eba
libpng: Update to upstream 1.6.44 2024-12-04 00:47:54 +01:00
Pāvels Nadtočajevs 84650f2018 Implement `DisplayServer.beep`. 2024-12-03 12:43:26 +02:00
Rémi Verschelde d14672863b
Merge pull request #99556 from ArchercatNEO/miniupnpc-include
Fix broken includes when compiling with `builtin_miniupnpc=false`
2024-11-29 22:02:10 +01:00
Rémi Verschelde c814493e95
Merge pull request #94321 from fire/vsk-csg-manifold-update-4.3
Fix mesh corruption of CSG by using elalish/manifold
2024-11-29 22:01:44 +01:00
K. S. Ernest (iFire) Lee fda444bb01 Add csg boolean operators using elalish/manifold.
Uses MeshGL64 for more floating point precision.

Co-Authored-By: 31 <31eee384@gmail.com>
Co-Authored-By: Claudio Z <120678869+cloudofoz@users.noreply.github.com>
2024-11-28 06:26:52 -08:00
ArchercatNEO 84bf1cc7ac Fix broken includes when compiling with builtin_miniupnpc=false
Fixes #99196
Supersedes #99218
2024-11-27 15:37:54 +00:00
Jakub Marcowski 1bd52fed76
clipper2: Update to 1.4.0 2024-11-26 17:23:06 +01:00
Yevhen Babiichuk (DustDFG) b607997bfc Delete unused files of thirparty libs (zlib, mbedtls)
Signed-off-by: Yevhen Babiichuk (DustDFG) <dfgdust@gmail.com>
2024-11-07 18:54:57 +02:00
Rémi Verschelde eb41ff0fee
certs: Sync with Mozilla bundle as of Oct 19, 2024
4d3fe6683f

Document matching mozilla-release changeset.
2024-11-05 20:42:42 +01:00
Thaddeus Crews 0a2a259ad5
Merge pull request #98771 from stuartcarnie/update_smolv
smol-v: update to 2024 to support SPIR-V 1.6
2024-11-04 21:51:59 -06:00
David Snopek 09e09d9335 Patch the OpenXR headers to get EGL from GLAD if we're using it 2024-11-04 10:43:07 -06:00
Stuart Carnie dd8582a319
smol-v: update to 2024 to support SPIR-V 1.6 2024-11-03 07:14:16 +11:00
Thaddeus Crews 49cf7996e1
Merge pull request #98496 from bruvzg/icu761
Update ICU to 76.1
2024-10-29 19:25:49 -05:00
Clay John 748f4079e3
Merge pull request #96439 from darksylinc/matias-TheForge-pr03-rebased
Add Swappy & Pre-Transformed Swapchain
2024-10-29 12:34:40 -07:00
Matias N. Goldberg aaa0e2fddf Add Swappy & Pre-Transformed Swapchain
- Adds Swappy for Android for stable frame pacing
- Implements pre-transformed Swapchain so that Godot's compositor is in
charge of rotating the screen instead of Android's compositor
(performance optimization for phones that don't have HW rotator)

============================

The work was performed by collaboration of TheForge and Google. I am
merely splitting it up into smaller PRs and cleaning it up.

Changes from original PR:

- Removed "display/window/frame_pacing/android/target_frame_rate" option
to use Engine::get_max_fps instead.
- Target framerate can be changed at runtime using Engine::set_max_fps.
- Swappy is enabled by default.
- Added documentation.
- enable_auto_swap setting is replaced with swappy_mode.
2024-10-28 18:55:37 -03:00
Arseny Kapoulkine e2cc0e484e Update meshoptimizer to 0.22
The Godot-specific patch is just a single line now; removing this patch
will likely require adjusting Godot importer code to handle error limits
better.

This also adds new SIMPLIFY_ options; Godot is currently not using any
of these but might use SIMPLIFY_PRUNE and SIMPLIFY_SPARSE in the future.
2024-10-26 07:26:07 -07:00
bruvzg e698870caa
Update ICU to 76.1 2024-10-24 22:47:59 +03:00
Thaddeus Crews 56ed76a372
Merge pull request #97582 from BlueCube3310/basisu-hdr
BasisU: Update to 1.50.0 and add HDR support
2024-10-14 14:09:57 -05:00
Thaddeus Crews a1e768c508
Merge pull request #97295 from BlueCube3310/betsy-bc4
Betsy: Implement BC4 compression
2024-10-14 14:09:56 -05:00
BlueCube3310 200ed0971a BasisU: Update to 1.50.0 and add HDR support 2024-10-12 18:02:44 +02:00
Rémi Verschelde 991b741f6c
Merge pull request #97677 from bruvzg/hb1001
Update HarfBuzz to 10.0.1
2024-10-02 15:01:23 +02:00
Rémi Verschelde dec83d5088
Merge pull request #97611 from BlueCube3310/bcdec-update
Update bcdec to latest version
2024-10-01 17:31:24 +02:00
bruvzg b6a369de79
Update HarfBuzz to 10.0.1 2024-10-01 08:20:45 +03:00
Gergely Kis 146ba4106f Move Vulkan includes to a central godot_vulkan.h header
Also fixes Vulkan build problem with recent Clang.
2024-09-29 17:53:18 +02:00
BlueCube3310 529897cb0c Update bcdec to latest version 2024-09-29 10:25:48 +02:00
Rémi Verschelde 422306ef87
Merge pull request #97325 from BlueCube3310/bcdec
Replace squish with bcdec for BC decompression
2024-09-29 00:47:02 +02:00
Bastiaan Olij e0478fe3a3 Update thirdparty OpenXR to 1.1.41 2024-09-27 14:34:43 +10:00
Fabio Alessandrelli 8ffb7699af [mbedTLS] Enable TLS 1.3 support
Move library initialization to module registration functions.

Only set library debug threshold when verbose output is enabled.

TLSv1.3 functions seems to be a bit more verbose then expected, and
generate a lot of noise. Yet, some level of debugging without
recompiling the engine would be nice. We should discuss this upstream.
2024-09-26 17:37:38 +02:00
BlueCube3310 2167157aaf Replace squish with bcdec for BC decompression 2024-09-26 14:42:54 +02:00
BlueCube3310 95fd45d9a5 Betsy: Implement BC4 compression 2024-09-22 10:16:37 +02:00
Rémi Verschelde 4c72d599f0
miniupnpc: Update to 2.2.8 (new major 18)
Keep support for major 17 by using a version check for the changed API.

Fixes #93907.
2024-09-18 11:50:54 +02:00
Rémi Verschelde 0c0336f704
thorvg: Update to 0.14.10
More fixes to rendering of SVG files with broken text tags.

Also backports upstream patch to fix #97078.
2024-09-17 08:53:52 +02:00
BlueCube3310 606eedb0c9 Betsy: Add caching and BC1 compression support 2024-09-11 23:48:29 +02:00
Rémi Verschelde a6ab039f2b
thorvg: Update to 0.14.9
Fixes #96491.

Update fix for #96262 to a simple revert of the problematic commit,
as the upstream fix is still being debated and caused other issues.

Also include fix for upstream regression 2715 added in 0.14.9.
2024-09-06 22:08:02 +02:00
Rémi Verschelde 9c2263366b
Merge pull request #96385 from Faless/mbedtls/3.6.1
[mbedTLS] Update to 3.6.1
2024-09-02 12:13:38 +02:00
Rémi Verschelde 7375f9b923
thorvg: Update to 0.14.8, and workaround Bezier precision regression
Fixes #96262 by backporting https://github.com/thorvg/thorvg/pull/2702.
2024-09-02 11:59:54 +02:00
Fabio Alessandrelli 4ac1f9c08a [mbedTLS] Update to 3.6.1 2024-08-31 15:35:37 +02:00
Alula 346cbc7f1f
Add support for compiling with VS clang-cl toolset 2024-08-28 13:30:44 -05:00
Rémi Verschelde 5a11abc899
Merge pull request #96198 from DeeJayLSP/qoa-leak
ResourceImporterWAV: Fix memory leak on QOA import
2024-08-28 13:14:27 +02:00
DeeJayLSP e67cc73463 Fix memory leak on QOA import 2024-08-28 08:04:20 -03:00
Rémi Verschelde f16d4af342
thorvg: Update to 0.14.7
Fixes #95861.
2024-08-27 15:54:10 +02:00
Rémi Verschelde 4b8946102b
Merge pull request #91535 from BlueCube3310/betsy-bc6h
Add Betsy to speed up BC6 compression
2024-08-21 06:38:03 +02:00
Stuart Carnie 2d0165574d
Add Metal support for macOS (arm64) and iOS 2024-08-20 12:11:06 +02:00
Jakub Marcowski e3ffcb3289
ufbx: Update to 0.14.3 2024-08-20 02:30:45 +02:00
BlueCube3310 394ea653aa Add Betsy to speed up BC6 compression 2024-08-18 11:14:05 +02:00
Rémi Verschelde 5cb01a0e09
Merge pull request #95227 from BastiaanOlij/openxr_1_1_38
Update OpenXR thirdparty library to 1.1.38
2024-08-17 00:46:27 +02:00
Rémi Verschelde 55c8fd85ed
Merge pull request #94985 from RandomShaper/sc_sized_array
Report shader arrays sized after spec constants as zero-sized
2024-08-16 10:35:06 +02:00
Bastiaan Olij 1371b35b6e Update OpenXR thirdparty library to 1.1.38, changed OpenXR init to stay on 1.0.x 2024-08-07 13:58:05 +10:00
Fabio Alessandrelli 764b7abe82 [ENet] Better handle disconnected peers in DTLS server
The ENetDTLSServer socket implementation should avoid reporting errors
during send and receive operations, unless the socket is effectively no
longer usable (and thus ENet should close it).
2024-08-02 16:07:37 +02:00
Rémi Verschelde 3c7eb6a4a9
Merge pull request #94256 from alvinhochun/embree-include-order-dllexport-fix
embree: Fix include order causing unwanted dllexport symbols
2024-08-01 00:06:31 +02:00
Pedro J. Estébanez 90679f1dcf Report shader arrays sized after spec constants as zero-sized
This effectively disables validation of the size of the data provided.
2024-07-31 20:07:53 +02:00
bruvzg 52a2836861 Disable FP contraction. 2024-07-23 14:33:51 +03:00
Martin Capitanio bf444545be ThorVG: Update to 0.14.2
+ Fixes SVG: Graphical objects stored in <defs> shouldn't be rendered directly.
2024-07-12 12:37:42 +02:00
Alvin Wong 54851f2333 embree: Fix include order causing unwanted dllexport symbols 2024-07-12 17:57:02 +08:00
Rémi Verschelde 79a24fa7e0
thorvg: Update to 0.14.1 2024-07-08 23:20:55 +02:00
Martin Capitanio 10406c8685 ThorVG: Update to 0.14.0
+ Fixes the v0.13.8 svg text error issue.
+ See https://github.com/thorvg/thorvg/releases/tag/v0.14.0
2024-06-27 11:26:44 +02:00
Rémi Verschelde 1f134f3865
Merge pull request #93378 from akien-mga/thorvg-0.13.8
thorvg: Update to 0.13.8
2024-06-21 10:14:32 +02:00
bruvzg 04d70c11fc [Windows/ARM64] Fix raycast/embree ARM64 build with LLVM/MinGW. 2024-06-20 15:52:04 +03:00
Rémi Verschelde e94df6f535
thorvg: Update to 0.13.8 2024-06-20 09:43:02 +02:00
Rémi Verschelde 38716b94db
thorvg: Fix unintended use of `float_t` type, again 2024-06-19 11:43:27 +02:00
Rémi Verschelde 4e01d8663e
Merge pull request #93021 from bruvzg/wl_ime
[Wayland] Implement IME support.
2024-06-19 10:10:09 +02:00
Fabio Alessandrelli c95bd2d264 [Web] Disable thorvg threads on the Web
They're of little help, and just adds to the possibility of causing
deadlocks.
2024-06-14 16:03:56 +02:00
Rémi Verschelde e15c2e051e
Merge pull request #92663 from Riteo/holy-egl-batman
EGL: Use `EGL_EXT_platform_base` whenever possible
2024-06-13 17:19:17 +02:00
bruvzg be25e60f61
[Wayland] Implement IME support. 2024-06-11 12:24:54 +03:00
Rémi Verschelde 4223444d87
Merge pull request #92993 from capnm/240610-embree-error-hotfix
CI: Hotfix for build error with newer clang++
2024-06-11 10:49:07 +02:00
Rémi Verschelde 4ac7a27e43
Merge pull request #92905 from DeeJayLSP/qoa-ups
qoa: Apply upstream patches
2024-06-11 10:48:55 +02:00
Daniel Opitz c24ea0ecca CI: Hotfix for build error with newer clang++
It will be included in the next release at some point.
- https://github.com/RenderKit/embree/issues 486
  "fix output operator"

[ 30%] Compiling thirdparty/embree/kernels/common/accelset.cpp ...
In file included from thirdparty/embree/kernels/common/device.cpp:12:
In file included from thirdparty/embree/kernels/common/scene_curves.h:10:
thirdparty/embree/kernels/common/../subdiv/bezier_curve.h:138:56:
error: no member named 'u' in 'QuadraticBezierCurve<V>'
  138 |         return cout << "QuadraticBezierCurve ( (" << a.u.lower << ", "
  << a.u.upper << "), " << a.v0 << ", " << a.v1 << ", " << a.v2 << ")";
 ...
2024-06-10 19:14:01 +02:00
Martin Capitanio 18650de06a ThorVG: Update to 0.13.7 2024-06-08 20:19:53 +02:00
DeeJayLSP 63bb754fc8 qoa: Apply upstream patches 2024-06-08 11:57:40 -03:00
Rémi Verschelde f9c5cdf360
Merge pull request #92819 from alula/patch-1
Fix building glslang on platforms without `<filesystem>`
2024-06-07 23:30:35 +02:00
Rémi Verschelde 688f9561dc
Merge pull request #92488 from TCROC/fix-cpuidex-mingw
Fix use of undeclared identifier `__cpuidex` error on MinGW
2024-06-07 23:29:32 +02:00
alula 3cc3c0bd95
fix building glslang on platforms without <filesystem> 2024-06-06 01:54:54 +02:00
Travis Lange 093718899f Fixed use of undeclared identifier '__cpuidex' error on mingw 2024-06-04 16:16:53 -04:00
Riteo 8f69f29694 EGL: Use EGL_EXT_platform_base whenever possible
This avoids any assumption from the driver, which would otherwise select
a specific platform and potentially mess up everything, resulting
usually in a display server failure.
2024-06-04 08:43:34 +02:00
Rémi Verschelde 940d629070
vulkan: Update all components to Vulkan SDK 1.3.183.0
Pass `VMA_ALLOCATOR_CREATE_KHR_MAINTENANCE5_BIT` to VMA when using Vulkan 1.3
features.

Co-authored-by: Pedro J. Estébanez <pedrojrulez@gmail.com>
2024-06-03 10:25:46 +02:00
Rémi Verschelde 2518d169af
thorvg: Update to 0.13.5
Includes https://github.com/thorvg/thorvg/pull/2338 hotfix.
2024-05-30 22:07:51 +02:00