Commit graph

67531 commits

Author SHA1 Message Date
Rémi Verschelde
e63c40e59c
Merge pull request #96113 from BlueCube3310/compat-array-fix
Compatibility: Fix crash when initializing certain compressed layered textures
2024-08-26 14:57:48 +02:00
Rémi Verschelde
4a4c86cc0a
Merge pull request #96110 from programneer/delet-this
Remove the 2D renderer notice from `ProjectSettings` documentation
2024-08-26 14:57:44 +02:00
Rémi Verschelde
5d1b07e464
Merge pull request #96108 from RandomShaper/fix_warn_in_all
Properly mute `-Wundefined-var-template` Clang warning in SafeBinaryMutex
2024-08-26 14:57:41 +02:00
HolonProduction
ccbdb34a2a Improve autocompletion for indices 2024-08-26 14:42:22 +02:00
BlueCube3310
e8b4568900 Compatibility: Fix crash when initializing certain compressed layered textures 2024-08-26 13:24:00 +02:00
Daniel Lowe
67a5932a4f Update AnimationPlayer in real-time when keyframe properties change 2024-08-26 07:19:01 -04:00
Pedro J. Estébanez
9cbc3f1419 Change warning muting so it affects all levels, but locally 2024-08-26 13:13:29 +02:00
Programneer
bce67b7473 Remove the 2D renderer notice from ProjectSettings documentation 2024-08-26 12:47:28 +02:00
A Thousand Ships
723f5500f4
[Core] Allow locking/unlocking of MutexLock 2024-08-26 12:38:03 +02:00
Wierdox
68799be79c [Doc] Clarify ProjectSettings hdr_2d description 2024-08-26 03:35:54 -07:00
Rémi Verschelde
e53dc80f2f
Merge pull request #95777 from Calinou/command-line-improve-rendering-driver-method-error-messages
Improve error messages for invalid rendering drivers/methods on the command line
2024-08-26 10:51:35 +02:00
Rémi Verschelde
abce2babe1
Merge pull request #94429 from mihe/animation-res-ref
Fix animation library copy-paste not preserving resource reference
2024-08-26 10:51:31 +02:00
Rémi Verschelde
0ba0be27c7
Merge pull request #94169 from RandomShaper/wtp_rl_prize
Batch of fixes for `WorkerThreadPool` and `ResourceLoader`
2024-08-26 10:51:25 +02:00
Rémi Verschelde
04f6321ecc
Merge pull request #91166 from raulsntos/gdextension/loader
GDExtension: Implement `GDExtensionLoader` concept
2024-08-26 10:51:21 +02:00
Rémi Verschelde
b4f268fae8
Merge pull request #91018 from Daylily-Zeleen/daylily-zeleen/optionally_postinitialization_for_extension_owner
Allow ClassDB to create a Object without postinitialization for GDExtension.
2024-08-26 10:51:17 +02:00
Rémi Verschelde
e63e8453da
Merge pull request #84063 from jsjtxietian/add-shortcuts-for-text-shader-editor
Add several shortcuts for text shader editor
2024-08-26 10:51:07 +02:00
jsjtxietian
5d7f87603d Add several shortcuts for text shader editor 2024-08-26 11:38:58 +08:00
Fredia Huya-Kouadio
039722a341 Fix invalid Skeleton3D bone pose updates
The issue would cause log spams when trying to update the bone pose position or rotation with an invalid bone index.
2024-08-25 17:04:46 -07:00
Rémi Verschelde
28a72fa434
Merge pull request #95934 from bruvzg/win_ang_fb
Enable fallback from ANGLE to native and improve ANGLE error messages.
2024-08-25 22:51:38 +02:00
Rémi Verschelde
4cb6e9994a
Merge pull request #96080 from DeeJayLSP/qoa-break
WAV: Add missing break on `get_length()`
2024-08-25 22:24:31 +02:00
Rémi Verschelde
ac4410ce34
Merge pull request #96079 from adamscott/relative-import-script-path
Add import tab `import_script/path` relative path support
2024-08-25 22:24:28 +02:00
Rémi Verschelde
5f7060c18a
Merge pull request #96052 from stuartcarnie/sgc/metal_shader_compilation
Metal: Improve startup times by using concurrent shader compilation APIs
2024-08-25 22:24:24 +02:00
Rémi Verschelde
fe15f47e22
Merge pull request #95929 from BastiaanOlij/openxr_fix_tracking_bit
OpenXR: Check correct status bit for hand tracking
2024-08-25 22:24:21 +02:00
Rémi Verschelde
1d3bdfcd06
Merge pull request #95862 from adamscott/fix-pitch-scale-before-play
Honor `pitch_scale` value before playing audio sample
2024-08-25 22:24:17 +02:00
Rémi Verschelde
f0d297d059
Merge pull request #95594 from aaronfranke/extension-api-validation
Update expected API validation files for the releases of Godot 4.2 & 4.3
2024-08-25 22:24:14 +02:00
Rémi Verschelde
5beb4ee691
Merge pull request #92684 from smix8/mesh_conv_dialog
Add confirm dialog for render mesh to navigation mesh conversion
2024-08-25 22:24:10 +02:00
Rémi Verschelde
8bb5db6ebd
Merge pull request #96085 from bruvzg/mingw_rpcndr_ver
[Windows] Move `__REQUIRED_RPCNDR_H_VERSION__` to the header.
2024-08-25 22:24:05 +02:00
bruvzg
a07f92a81c [Windows] Move __REQUIRED_RPCNDR_H_VERSION__ to the header. 2024-08-25 22:57:35 +03:00
bruvzg
f8a6c0e8ab
Enable fallback from ANGLE to native and improve ANGLE error messages. 2024-08-25 21:19:54 +03:00
Rémi Verschelde
bc2d0e9f39
Merge pull request #96067 from SaracenOne/advanced_importer_scale_fix
Fix importer preview for models with scaled armatures.
2024-08-25 20:18:46 +02:00
Rémi Verschelde
bb437722ea
Merge pull request #96033 from Tallivm/patch-1
Fix typo in `Array` code example
2024-08-25 20:18:42 +02:00
Rémi Verschelde
3495e82644
Merge pull request #96010 from jwinarske/jw/wayland_fix
Wayland: Use `wayland-egl-core.h` instead of `wayland-egl.h`
2024-08-25 20:18:39 +02:00
Rémi Verschelde
e35a45e166
Merge pull request #95962 from dsnopek/validate-extension-api-disable-warnings
Temporarily disable "validation errors no longer occur" warnings
2024-08-25 20:18:32 +02:00
Rémi Verschelde
887d56721d
Merge pull request #95959 from dsnopek/openxr-api-hand-tracker-crash
Fix crash when calling `OpenXRAPI::get_hand_tracker()` and hand-tracking is disabled
2024-08-25 20:18:28 +02:00
Rémi Verschelde
844ac90bad
Merge pull request #95956 from ItzCog/master
Fix some C# variable types In `AStar2D/3D` Class Reference
2024-08-25 20:18:25 +02:00
Rémi Verschelde
473e7e0df3
Merge pull request #95947 from passivestar/timelineedit-namelimit
Fix animation timeline resize widget allowing invalid internal values
2024-08-25 20:18:21 +02:00
Rémi Verschelde
68d188d521
Merge pull request #95888 from clayjohn/Lightmap-SH-coefficients
Use correct lightmap coefficients to ensure that the directional lightmap mode looks correct
2024-08-25 20:18:18 +02:00
Rémi Verschelde
c9e5008966
Merge pull request #95857 from KoBeWi/novel_variant_of_0
Always store ID of PopupMenu items
2024-08-25 20:18:14 +02:00
Rémi Verschelde
cbe1d6f7af
Merge pull request #95274 from Chaosus/shader_forbind_const_func_decl
Forbid function declaration with a const qualifier in shaders
2024-08-25 20:18:10 +02:00
Rémi Verschelde
dc6d6551e4
Merge pull request #96044 from darksylinc/matias-TheForge-hotfix2
Disable extra memory tracking by default
2024-08-25 20:18:03 +02:00
DeeJayLSP
703c31fb40 WAV: Add missing break on get_length() 2024-08-25 14:18:26 -03:00
Craig-Stoneham
604df4fc83 Improve Template Class Conditionals (Code Style)
Refactored the following template classes by replacing runtime checks with compile-time checks using if constexpr for improved code clarity and maintainability:

- RID_Alloc
- SortArray
- PagedAllocator

Changes made:

- Updated conditional checks for THREAD_SAFE in the RID_Alloc class.
- Updated conditional checks for Validate in the SortArray class.
- Updated conditional checks for thread_safe in the PagedAllocator class.
2024-08-25 18:10:51 +01:00
Adam Scott
7e580150f9
Add import tab "import_script/path" relative path support 2024-08-25 12:50:50 -04:00
A Thousand Ships
5b91040ba6
[Doc] Clarify is_null methods of Callable and Signal 2024-08-25 14:33:07 +02:00
Saracen
06709e6865 Fix importer preview for models with scaled armatures. 2024-08-25 13:15:26 +01:00
Hei
94e434b34e Expose the function 'RenderingServer.canvas_item_attach_skeleton' 2024-08-25 04:13:04 +03:00
DeeJayLSP
b4d44a4253 QOA: Remove unnecessary memory allocation 2024-08-24 21:39:55 -03:00
Matias N. Goldberg
59d0422dcd Disable extra memory tracking by default
PR #90993 added several debugging utilities.

Among them, advanced memory tracking through the use of custom
allocators and VK_EXT_device_memory_report.

However as issue #95967 reveals, it is dangerous to leave it on by
default because drivers (or even the Vulkan loader) can too easily
accidentally break custom allocators by allocating memory through std
malloc but then request us to deallocate it (or viceversa).

This PR fixes the following problems:
 - Adds --extra-gpu-memory-tracking cmd line argument
 - Adds missing enum entries to
RenderingContextDriverVulkan::VkTrackedObjectType
 - Adds RenderingDevice::get_driver_and_device_memory_report
    - GDScript users can easily check via print(
RenderingServer.get_rendering_device().get_driver_and_device_memory_report()
)
- Uses get_driver_and_device_memory_report on device lost for appending
further info.

Fixes #95967
2024-08-24 20:52:39 -03:00
Stuart Carnie
2ef1ef63a5
Metal: Improve startup times by using concurrent shader compilation APIs 2024-08-25 09:05:58 +10:00
Matias N. Goldberg
d26c2f86cc Add VK_EXT_astc_decode_mode support
The work was performed by collaboration of TheForge and Google. I am
merely splitting it up into smaller PRs and cleaning it up.
2024-08-24 17:58:12 -03:00