Commit Graph

71845 Commits

Author SHA1 Message Date
bc0d58b07e i18n: Sync translations with Weblate 2025-02-26 00:05:03 +01:00
e7ac8e45a3 Merge pull request #103296 from dsnopek/texture-create-from-native-handle-right-rid-type
`texture_create_from_native_handle()` should return `RID` for texture from `RenderingServer`, not `RenderingDevice`
2025-02-25 21:59:24 +01:00
a285d1aa98 texture_create_from_native_handle() should return RID for texture from RenderingServer, not RenderingDevice 2025-02-25 14:20:33 -06:00
6ea7798789 Merge pull request #103286 from AThousandShips/fix_windows_display_2
[Windows] Fix unreachable code in `DisplayServer`
2025-02-25 12:42:39 -06:00
8ea725a181 [Windows] Fix unreachable code in DisplayServer 2025-02-25 17:37:02 +01:00
cc7a951140 Merge pull request #103266 from KoBeWi/l8ter_m8
Load docks layout after their position is initialized
2025-02-25 15:28:14 +01:00
2f030f3da8 Merge pull request #103261 from Calinou/doc-imagetexturelayered-create-texture-arrays
Document creating Texture2DArray, Cubemap and CubemapArray from code
2025-02-25 15:28:10 +01:00
82aacc129f Merge pull request #103245 from bruvzg/rd_helper
[Windows] Offload `RenderingDevice` creation test to subprocess.
2025-02-25 15:28:06 +01:00
c4731e1d5b Merge pull request #103168 from Giganzo/tree-edge-hover
Fix Tree hover position with multiple columns
2025-02-25 15:27:59 +01:00
5cfa89ed0e Merge pull request #103185 from stuartcarnie/metal_lazy
Metal: Compile `MTLLibrary` on demand when pipeline is created
2025-02-24 19:52:23 -06:00
92fc09c429 Merge pull request #103252 from AThousandShips/fix_display_windows
[Windows] Fix unused variable error in `DisplayServerWindows`
2025-02-24 19:52:22 -06:00
9f4ac3c0b0 Merge pull request #103259 from BlueCube3310/bcdec-fix-realign
bcdec: Fix unnecessary alignment of texture resolution when only one of its dimensions isn't divisible by 4
2025-02-24 19:52:21 -06:00
7aec67f1f1 Load docks layout after their position is initialized 2025-02-25 00:12:19 +01:00
07fa717b34 Document creating Texture2DArray, Cubemap and CubemapArray from code 2025-02-24 23:02:30 +01:00
a22c16cf5c bcdec: Fix unnecessary alignment of texture resolution when only one of its dimensions isn't divisible by 4 2025-02-24 21:40:34 +01:00
818afcb327 Metal: Compile MTLLibrary on demand when pipeline is created
This changes the default shader loading strategy, implemented in the
Metal driver, to compile the `MTLLibrary` on demand when the pipeline
is created, which reduces cold startup time on IPHONE target OSs.

Normally, the `MTLLibrary` is compiled from Metal source asynchronously
when Godot calls
`RenderingDeviceDriverMetal::shader_create_from_bytecode`; however, this
changes this behaviour on mobile platforms to do it on demand when the
pipeline is created, as noted in #96052, Godot will ask to create
many more shaders from bytecode than are initially required. Mobile
OSs like iOS are limited to compiling to shader libraries concurrently,
which results in a significant bottleneck.

This is not the default for macOS, as it can concurrently compile many
shaders at once, resulting in faster startup times for the Godot editor.
2025-02-25 05:32:38 +11:00
ab717497ef [Windows] Offload RenderingDevice creation test to subprocess. 2025-02-24 19:40:10 +02:00
1f5f96c47f [Windows] Fix unused variable error in DisplayServerWindows 2025-02-24 18:08:13 +01:00
39c201ca58 Merge pull request #103247 from Faless/mbedtls/backport_defragment_tls_handshake
[mbedTLS] Integrate TLS handshake defragmentation PR
2025-02-24 17:33:35 +01:00
f931a65177 Merge pull request #103132 from syntaxerror247/docs-sensors
Android: Inform that sensors must be enabled in ProjectSettings
2025-02-24 09:06:16 -06:00
c80eb95741 Merge pull request #103224 from bruvzg/lbl_rounding_errors
[Label] Fix rounding errors with fractional scale.
2025-02-24 09:06:15 -06:00
0b1a7aff7e Merge pull request #103197 from akien-mga/safer-rendering-driver-selection
Fix cross-platform configuration of rendering driver settings (narrower approach)
2025-02-24 09:06:14 -06:00
fe84b84b51 [mbedTLS] Enable TLS 1.3 negotiation by default 2025-02-24 14:04:09 +01:00
af0bc17c4f [mbedTLS] Integrate TLS handshake defragmentation PR
Upstream PR GH-9981
2025-02-24 13:44:40 +01:00
8016c5399f [Label] Fix rounding errors with fractional scale. 2025-02-23 17:59:14 +02:00
28d1dccf63 Android: Fix export and runtime logic to check if using Vulkan
Also fix iOS export logic that would force a min target of iOS 14.0 (for Metal)
even when targeting the Compatibility renderer.

Co-authored-by: Pāvels Nadtočajevs <7645683+bruvzg@users.noreply.github.com>
2025-02-23 12:28:59 +01:00
b77423370a Fix cross-platform configuration of rendering driver settings
Simpler alternative to #103026 which avoids breaking compatibility.

Instead of introducing a new `auto` default value, we ensure that all
supported drivers are registered regardless of the editor's host platform,
and that the defaults are the intended ones.

This solves the following issues:
- macOS exports are meant to default to Metal in 4.4, but they would
  default to Vulkan if exported from Linux, Windows, or Android editors.
- Windows exports couldn't be made with Direct3D 12 from Linux, macOS, or
  Android editors, as the option couldn't be selected outside Windows.

Unlike #103026, it doesn't solve the issue of not always saving the
rendering drivers to `project.godot`, but now the defaults are at least
consistent between editor platforms.

Co-authored-by: Pāvels Nadtočajevs <7645683+bruvzg@users.noreply.github.com>
2025-02-23 12:28:59 +01:00
11f56d8265 Revert "Always allow selecting any rendering driver in the settings, add "auto" option."
This reverts commit dea20c4a9b.

This had unforeseen consequences for editor code that relies on querying these settings,
and possibly thirdparty code that would do the same. In hindsight, it's a bit too late
in the release cycle to make such a compatibility breaking change.
2025-02-23 12:19:20 +01:00
0e3dbba6a5 Merge pull request #103192 from bruvzg/lbl_clip
Fix label clipping when ascent/descent are fractional.
2025-02-23 12:13:16 +01:00
58e4e34564 Merge pull request #103176 from 0xcafeb33f/theora-asm-opt
Fix libtheora optimizations causing errors in calling function for x86_64 Windows
2025-02-23 12:13:13 +01:00
0c3787a152 Merge pull request #103148 from nathanhoad/fix-docs-typo-editortranslationplugin
Fix typo in EditorTranslationParserPlugin docs
2025-02-23 12:13:09 +01:00
37f9e427aa Merge pull request #103143 from PhairZ/plugin-icons
Fix plugin icons not displayed
2025-02-23 12:13:06 +01:00
545ca2538e Merge pull request #103122 from syntaxerror247/fix-crash
Android: Fix excessive `getRotation` calls
2025-02-23 12:13:02 +01:00
b99a971654 Merge pull request #103120 from lyuma/fix_translation_uid_hash
CSV import: Generate positve UID for .translation and follow renames
2025-02-23 12:12:58 +01:00
17b3be9473 Merge pull request #103117 from syntaxerror247/black-bars-bug
Android Editor: Fix expand button black bar issue
2025-02-23 12:12:55 +01:00
ba47acab0a Merge pull request #103105 from Hilderin/fix-embedded-game-window-first-startup-location-size
Fix Embedded Game window wrong first startup location and size
2025-02-23 12:12:51 +01:00
05c56e8393 Merge pull request #103052 from Hilderin/fix-embedded-game-mouse-over-not-focused-windows
Fix Embedded Game does not focus when mouse over on Windows
2025-02-23 12:12:47 +01:00
54545d78d3 Merge pull request #101983 from markdibarry/parallax2d-remove-experimental
Remove Parallax2D's experimental flag
2025-02-23 12:12:42 +01:00
5201dfb34c Windows x86_64 GCC: Disable Theora assembly optimizations
Co-authored-by: Bernat Arlandis <berarma@hotmail.com>
2025-02-22 17:20:55 -06:00
33eb7724a0 Fix label clipping when ascent/descent are fractional. 2025-02-22 22:51:23 +02:00
f2ad4303aa csv import: generate positve UID for .translation and follow renames
Mask with INT64_MAX to avoid negative UIDs which cause bugs.
If the generated .translation UID is already in use (renamed), overwrite that file instead.
2025-02-22 01:08:48 -08:00
b3aeaa66d4 Fix typo in EditorTranslationParserPlugin docs 2025-02-22 16:26:02 +10:00
16b7459cda fix plugin icons not displayed 2025-02-22 04:40:52 +02:00
93bababb8c Android: Inform that sensors must be enabled in ProjectSettings 2025-02-21 23:04:01 +05:30
ee4e809d4c Android: Fix excessive getRotation calls 2025-02-21 20:32:54 +05:30
394508d26d i18n: Sync translations with Weblate 2025-02-21 10:07:12 +01:00
129ffce06a Android Editor: Fix expand button black bar issue 2025-02-21 13:00:49 +05:30
068d40a5a9 Fix Embedded Game window wrong first startup location and size 2025-02-20 20:24:12 -05:00
c7bc322bf6 Fix Embedded Game does not focus when mouse over on Windows 2025-02-20 16:28:18 -05:00
8ed125b429 Bump version to 4.4-rc 2025-02-20 20:08:03 +01:00