Commit Graph

73790 Commits

Author SHA1 Message Date
ec6374990b Merge pull request #105494 from YeldhamDev/mirror_on_the_wall_who_is_the_prettiest_of_them_all
Fix missing `gdb.printing` import for the pretty print script
2025-04-21 08:24:17 -05:00
f807754c1b Merge pull request #105237 from ibrahn/popup-drop-shadow-fix
Fix shadow offset larger than shadow size in PopupMenu and PopupPanel.
2025-04-21 08:24:16 -05:00
e5d1fdcfea Merge pull request #104207 from mbucchia/d3d12-xr
Add support for Direct3D 12 OpenXR backend
2025-04-21 08:24:16 -05:00
05f8b3e561 Merge pull request #105482 from maxpiepenbrink/fix-canvas-translate-regression
Fix regression causing jittery canvas transforms
2025-04-21 08:24:15 -05:00
3ae0501e20 Merge pull request #98818 from AThousandShips/fix_audio_thread
[Editor] Move thread name assignment in audio preview
2025-04-21 08:24:14 -05:00
8aaae4f4f3 Merge pull request #98560 from Koyper/tree_relationship_line_fix
[Tree] Fix relationship lines 1px width draw bug when MSAA anti aliasing is enabled
2025-04-21 08:24:06 -05:00
81df850492 Fix incorrect transform when editor camera is moved externally 2025-04-21 15:45:57 +04:00
4115b813fe Add two methods to compute the height and width of an individual line in a RichTextLabel 2025-04-21 10:25:47 +02:00
1a70a06a43 Change RID_Owner::get_owned_list. 2025-04-21 01:04:27 +08:00
48882f3ca4 Wayland: Handle fifo_v1 and clean up suspension logic
Before, the WSI was unfortunately quite broken and we had work around it
by manually pacing frames. Needless to say it was not an ideal solution.

Now, the WSI can make use of the new fifo_v1 protocol to work properly.
If it's available, we'll trust the WSI by disabling manual frame pacing.

While we're at it, let's clean up the suspension code a bit by removing
some duplicated stuff and handling the suspension state through a switch
case.
2025-04-20 18:05:35 +02:00
e2dec5146c Remove GridMap godotsphir remarks
Removes GridMap godotsphir remarks.
2025-04-20 17:13:47 +02:00
e3c215fc13 Add support for Direct3D 12 OpenXR backend.
This change adds support for running XR projects built with the `d3d12`
rendering backend. The XR backend hooks into the setup for the D3D12
render context in order to use the desired device and command queue for
submission to OpenXR. The XR backend takes care of importing the D3D12
swapchain images into the render context.

As part of this process, three issues are addressed:
- Ensuring that resource state transitions are only done on textures
  that require them.
- Enabling view instancing in the PSOs for multiview render passes.
- Addressing a bug in the D3D12 runtime where PSO creation may fail
  when front face detection is used.

Please refer to #86283 for additional discussions on the implementation
details.
2025-04-19 20:39:33 -07:00
1e1b0913bc Improve SceneTree auto-translation 2025-04-20 11:12:07 +08:00
fbadaa26ff Improve and optimize lightmap probe gizmo creation 2025-04-19 17:52:21 +02:00
34b3582cf9 Embed TouchActionsPanel directly into the Android editor UI 2025-04-19 20:32:47 +05:30
aab8dd6488 Replace GridMap legacy use of List with LocalVector
Replaces GridMap legacy use of List with LocalVector.
2025-04-19 15:58:02 +02:00
5640ddd0a5 Scene shader: Improve and document SH evaluation for light probes 2025-04-19 15:08:02 +02:00
64fed07809 [Editor] Move thread name assignment in audio preview
This method is not an instance method so cannot be used this way, it
instead sets the name of the *calling* thread. Putting it in the thread
function makes it work correctly.
2025-04-19 13:59:29 +02:00
172fbe403a Optimize GridMap rendering scenario quadruple-getters
Optimizes GridMap rendering scenario quadruple-getters.
2025-04-19 13:24:26 +02:00
24bb0d5c4f Use SVGTextures for editor and default theme icons. 2025-04-19 12:48:24 +03:00
9f5048fb36 Implement SVGTexture auto-scalable with font oversampling. 2025-04-19 12:42:54 +03:00
2e61c7773b Fix OS_Windows::get_video_adapter_driver_info() 2025-04-18 19:11:40 -04:00
23ffdd79e8 fix gdextension Object/Node::to_string to check is_valid before returning the result
at best, this results in an empty string, at worst, the result is never
initialised when is_valid is false.
2025-04-19 10:45:12 +12:00
2d3bdcac35 Merge pull request #105470 from clayjohn/RID-owner-limit
Increase chunk limit for known problematic RID_Owners.
2025-04-18 12:21:30 -05:00
1bf9d8e628 Merge pull request #105501 from darksylinc/graph-align-ubsan
Fix UBSAN alignment issues in the render graph
2025-04-18 12:21:29 -05:00
d3ee6af73c Merge pull request #105524 from yahkr/bbcode_br
Add [br] to bbcode parsing for `rich_text_label`
2025-04-18 12:21:29 -05:00
7e7c5244c2 Merge pull request #102289 from Chaosus/shader_fix_constants_in_hint_range
[Shaders] Allow constants and expressions in `hint_range`
2025-04-18 12:21:28 -05:00
c77174b346 Merge pull request #105310 from BlueCube3310/tex-preview-unify
TextureEditorPlugin: Add borders to 3D and Layered editors
2025-04-18 12:21:27 -05:00
1e8b7fe5a0 Merge pull request #101582 from Flynsarmy/recursive_transition_wording
Improve wording on recursive transition detection warning
2025-04-18 12:21:26 -05:00
2ddd9be11f Merge pull request #105486 from beicause/csharp-stringname-alloc-obj-free
C#: Avoid StringName allocation in `GodotObject.Free`
2025-04-18 12:21:26 -05:00
b743eb96e3 Merge pull request #98760 from ze2j/optimize_texture_create_shared_from_slice
Optimize shared texture creations
2025-04-18 12:21:25 -05:00
146e405c48 Merge pull request #105412 from bruvzg/fix_fixedsize_img_fonts
Fix fixed size image fonts incorrectly getting oversampling applied if set to native size.
2025-04-18 12:21:24 -05:00
e61a0e8c61 Merge pull request #105344 from the-loki/master
Fix LSP not returning expected localization for API docs.
2025-04-18 12:21:23 -05:00
dd5460c32a Style: Declare inline macros as attributes 2025-04-18 12:04:40 -05:00
fc051c8b36 Add [br] to bbcode parsing for rich_Text_label 2025-04-18 09:59:47 -04:00
c6c06a966a Allow chunk validator to wrap around in RID_Alloc so that we do not need to crash once we have made 2^31 allocations 2025-04-18 00:06:53 -07:00
6fede0b951 Optimize SkyMaterials by removing uses of acos and simplifying logic
The results looks almost the same and run much faster.
2025-04-17 22:50:11 -07:00
c67736e6a7 Replace TextEdit with EditorSpinSlider for the Action Set's priority 2025-04-17 12:52:51 -07:00
96bad4ad04 Fix UBSAN alignment issues in the render graph
Follow up to PR #100325
2025-04-17 14:40:06 -03:00
f6efd88cda Add {c,cpp}_compiler_launcher options 2025-04-17 12:27:44 -04:00
39db6c1d3c Fix GridMap OctantKey cell rasterization
Fixes GridMap OctantKey cell rasterization that had octants at different sizes due to faulty integer division.
2025-04-17 17:57:34 +02:00
81429da4ab Fix missing gdb.printing import for the pretty print script 2025-04-17 11:58:55 -03:00
5a14ab7c39 [Shaders] Allow constants and expressions in hint_range 2025-04-17 17:43:01 +03:00
d403878a71 Document Vector2.from_angle() not always returning a normalized vector 2025-04-17 16:33:57 +02:00
09ea7bc6a3 Merge pull request #105400 from bruvzg/ov_cleanup
Remove old oversampling property from font importers.
2025-04-17 09:14:25 -05:00
03a44c42dd Merge pull request #105484 from Wierdox/normalize_description_of_list_directory
Normalize description of `ResourceLoader.list_directory()`
2025-04-17 09:14:25 -05:00
5df4a0ae3d Merge pull request #105291 from jaydensipe/rename-editor-setting-check-for-update
Rename editor setting `Engine Version Update Mode` to `Check for Updates`
2025-04-17 09:14:24 -05:00
20b2674cfd Merge pull request #105481 from bruvzg/rtl_title_sort
Fix incorrect title bar sorting in RTL layout.
2025-04-17 09:14:23 -05:00
98aced4e65 Merge pull request #99768 from dsnopek/openxr-vulkan-foveated-rendering
OpenXR: Use the `XR_FB_foveation_vulkan` extension to get the density map for VRS
2025-04-17 09:14:23 -05:00
90e3926424 Fix light theme gizmo icons in the 3D editor appearing too dark 2025-04-17 14:29:54 +02:00