Commit Graph

77006 Commits

Author SHA1 Message Date
Alvin Wong 1d542257e5 Windows: Fix wrong initial size passed to rendering driver 2024-07-16 03:30:44 +08:00
aaronp64 c1afe7dcdf Improve CowData::insert performance
Update CowData::insert to call ptrw() before loop, to avoid calling _copy_on_write for each item in the array, as well as repeated index checks in set and get.  For larger Vectors/Arrays, this makes inserts around 10x faster for ints, 3x faster for Strings, and 2x faster for Variants.  Less of an impact on smaller Vectors/Arrays, as a larger percentage of the time is spent allocating.
2024-07-15 14:01:19 -04:00
BlueCube3310 a20960bce4 Fix texture compression descriptions in RenderingDevice docs 2024-07-15 15:19:02 +02:00
Bastiaan Olij 9442eb8194 Expose more state in RenderSceneBuffersRD 2024-07-15 22:04:10 +10:00
RTTEXFile d696a3c8a6 Fix typo in AABB docs
A single letter
2024-07-15 14:35:12 +03:00
Mikael Hermansson c9e0532bc2 Fix "selectable nodes at position clicked" feature in 3D editor 2024-07-15 13:14:57 +02:00
Pedro J. Estébanez 10b543f8a7 WorkerThreadPool: Fix wrong sync logic breaking task map integrity 2024-07-15 12:15:25 +02:00
Pedro J. Estébanez 62d9ce6445 Re-add resource thread-safety measures
These deferring measures were added to aid threaded resource loading in being safe.

They were removed as seemingly unneeded, but it seems they are needed so resources involved in threaded loading interact with others only after "sync points".
2024-07-15 12:15:22 +02:00
bruvzg 3afe1e7481 [Winink] Check pointer button states, fix drag and double-click. 2024-07-15 12:23:07 +03:00
HolonProduction 06e732c3ed GDScript: Restore support for Token::UNDERSCORE in identifiers 2024-07-15 10:04:11 +02:00
Pedro J. Estébanez a8adb2bbc3 D3D12: Avoid enabling depth bounds test if unsupported 2024-07-15 09:49:34 +02:00
Pedro J. Estébanez 76bfe8e0fd Make errors on RefCounted.free() more accurate 2024-07-15 08:51:42 +02:00
bruvzg dc98e432e5 [macOS] Fix code completion list scrolling with trackpad. 2024-07-15 08:12:19 +03:00
Mai Lavelle 16eea2c837 Fix to restore library_path as absolute path 2024-07-14 20:37:38 -04:00
smix8 9dd05964d5 Fix NavigationPolygon not updating consistently on rebakes
Fixes that NavigationPolygon did not update in all cases because the internal NavigationMesh was not always unref and freed which blocked creating a new mesh later if nothing else freed it.
2024-07-14 22:01:11 +02:00
kobewi 1ec176d6cc Some improvements to TileSetScenesCollectionSource docs 2024-07-14 20:04:49 +02:00
kobewi a5d86c1327 Don't attempt to re-import broken files if they didn't change 2024-07-14 19:51:29 +02:00
kobewi a0824735a0 Make sure that selected tile source is remembered 2024-07-14 19:07:17 +02:00
Adriaan de Jongh 5488fef3af Clarify that Resource.duplicate(true) doesn't duplicate subresources inside Array or Dictionary properties 2024-07-14 16:32:08 +02:00
Silc Lizard (Tokage) Renew 9c1f23c3db Re-add Skeleton3D::animate_physical_bones 2024-07-14 14:24:25 +09:00
kobewi 4b2ffdd208 Clarify is_visible_in_tree() in CanvasItem 2024-07-14 01:16:25 +02:00
kobewi 8904764a6c Clarify clipboard_get_image() 2024-07-13 21:34:39 +02:00
Robert Borghese 1052985b00 Add hint_enum for uniform int in gdshader 2024-07-13 14:30:08 -04:00
kobewi 0b513b9f65 Allow box selecting over CanvasItems when Shift is held 2024-07-13 18:21:17 +02:00
A Thousand Ships 32f8292679 [CI] Upload build cache before running tests
This improves turnaround time on large PRs where compilation is
successful but unit testing or similar fails, forcing recompilation of
unchanged code
2024-07-13 17:45:37 +02:00
Michael Alexsander 565b21b116 Fix wrong tooltip behavior in PopupMenus that have styles with top borders 2024-07-13 09:27:13 -03:00
BlueCube3310 60a255a0d0 Lightmapper: Prevent infinite loop when blitting lightmaps into an atlas 2024-07-13 13:10:04 +02:00
HolonProduction 402bdfa3b7 Generate arghint for script types 2024-07-13 10:47:26 +02:00
Silc Lizard (Tokage) Renew 7cdeac94d1 Fix StateMachine process when transition to end & optimize StringName 2024-07-13 17:32:31 +09:00
Silc Lizard (Tokage) Renew b326a35747 Reset position to 0 after animation selected on AnimationPlayerEditor 2024-07-13 14:27:01 +09:00
clayjohn 4cbc967f50 Use a spec constant to control whether the MultiMesh branch is used in the vertex shader.
This works around a bug on the Quest3 and slightly improves performance on all mobile devices at the cost of increased pipeline count.
2024-07-12 15:44:06 -07:00
Mert Kasar 56ed2cb6d1 Fix SSR orientation issues when using orthogonal camera
- Use negative clip space values to fix reversed rotations in reflections
- Use constant -z view vector when raymarching to fix perspective in reflections
2024-07-12 21:56:31 +03:00
clayjohn 8ce4f655f4 Only print physics sync warning on dev builds to avoid warning spam from using move_and_slide
The check should be restored once we implement move_and_slide in a way that doesn't sync the physics thread
2024-07-12 10:52:30 -07:00
Yuri Rubinsky d375b99acf Add SwitchVector4D shortcut to visual shader members 2024-07-12 18:44:48 +03:00
Yuri Rubinsky 92aa01f937 Add few new outputs to the visual shaders 2024-07-12 17:12:22 +03:00
Kasper Frandsen 5ad7cd33bd Add collapse/expand right click option to remote scene view 2024-07-12 14:33:34 +01:00
Anni Ryynänen a9c91f4eef Fix container minimum size with hidden parent 2024-07-12 16:21:05 +03:00
CrazyRoka 6c86268fdd Decorate rare !data.inside_tree condition with unlikely 2024-07-12 13:38:41 +01: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
HolonProduction 9a84387017 Autocompletion: Keep get_node values which are compatible with type hint 2024-07-12 12:32:30 +02:00
Alvin Wong 54851f2333 embree: Fix include order causing unwanted dllexport symbols 2024-07-12 17:57:02 +08:00
Rémi Verschelde 97b8ad1af0 Merge pull request #94232 from bruvzg/macos_dnd
[macOS] Fix drag-and-drop feedback.
2024-07-11 23:17:06 +02:00
Rémi Verschelde af33276109 Merge pull request #94217 from DevPoodle/rd-docs
Clean up RenderDataExtension's descriptions
2024-07-11 23:17:02 +02:00
Rémi Verschelde 1aa1a1879d Merge pull request #94203 from RandomShaper/bye_bye_dxil_dll
D3D12: Get rid of `DXIL.dll`!
2024-07-11 23:16:59 +02:00
Rémi Verschelde 6c2699cbf6 Merge pull request #94187 from akien-mga/windows-remove-unused-is_wow64
Remove unused `is_wow64` method in `OS_Windows`
2024-07-11 23:16:54 +02:00
Rémi Verschelde b6434f2ac7 Merge pull request #94158 from BastiaanOlij/fix_action_map
OpenXR: Couple of small fixes on the action map
2024-07-11 23:16:51 +02:00
BlueCube3310 14877d1f99 Lightmapper: Ensure the atlas is big enough to fit padded UV maps 2024-07-11 23:16:31 +02:00
Rémi Verschelde c349f0d6a7 Remove unused is_wow64 method in OS_Windows
It was added in b4d369c88 for `get_processor_count`, but this was later
changed to rely on `std::thread` in 6bf02c016.
2024-07-11 23:16:12 +02:00
bruvzg c8447724e5 [macOS] Fix drag-and-drop feedback. 2024-07-11 23:13:38 +03:00
ChristopheClaustre 626106da00 gl_type_cache is used mainly for texture to image conversion need to be adjusted for when HDR format is activated 2024-07-11 21:47:18 +02:00