Commit Graph

68126 Commits

Author SHA1 Message Date
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
Thaddeus Crews
92e51fca72
Merge pull request #97979 from BlueCube3310/fix-thumb-gen
Some checks failed
🔗 GHA / 📊 Static checks (push) Has been cancelled
🔗 GHA / 🤖 Android (push) Has been cancelled
🔗 GHA / 🍏 iOS (push) Has been cancelled
🔗 GHA / 🐧 Linux (push) Has been cancelled
🔗 GHA / 🍎 macOS (push) Has been cancelled
🔗 GHA / 🏁 Windows (push) Has been cancelled
🔗 GHA / 🌐 Web (push) Has been cancelled
🔗 GHA / 🪲 Godot CPP (push) Has been cancelled
Fix crash when creating thumbnails for 3d textures
2024-10-10 18:13:24 -05:00
Thaddeus Crews
e589074f69
Merge pull request #97940 from syntaxerror247/a_refreshing_bug
Refresh Filesystem Dock after android build template is created
2024-10-10 18:13:23 -05:00
Thaddeus Crews
168e605ad7
Merge pull request #97563 from SaracenOne/key_sub_paths
Fix keying of property subpaths.
2024-10-10 18:13:21 -05:00
Thaddeus Crews
e857e81cf7
Merge pull request #97873 from BlueCube3310/image-decompress-4-fix
Fix decompressing textures with dimensions that are not multiples of 4
2024-10-10 18:13:20 -05:00
Thaddeus Crews
bb20444998
Merge pull request #97744 from Nazarwadim/use_local_vector_for_skeleton
Use `LocalVector` for skeleton
2024-10-10 18:13:19 -05:00
Thaddeus Crews
cc3542e675
Merge pull request #97835 from krm01/typo-docs-packedvector2array
Fix small typo on PackedVector2Array docs
2024-10-10 18:13:19 -05:00
Thaddeus Crews
147ccfeb4e
Merge pull request #96329 from Delsin-Yu/dotnet-replace-array-with-ros-in-binding-apis
[.NET] Generate `ReadOnlySpan<T>` Overloads for GodotSharp APIs
2024-10-10 18:13:18 -05:00
Thaddeus Crews
16dfaa5e80
Merge pull request #94952 from alvinhochun/angle-d3d11-flip-y
Optimize ANGLE on D3D11 to remove an extra blit
2024-10-10 18:13:17 -05:00
Thaddeus Crews
9d5a7321a5
Merge pull request #95175 from KoBeWi/bruh_can_revert
Fix implementation of `property_can_revert()` in various classes
2024-10-10 18:13:16 -05:00
Thaddeus Crews
44b797fbe6
Merge pull request #97446 from Repiteo/ci/windows-gcc-action
CI: Add MinGW/GCC build to Windows GHA
2024-10-10 18:13:16 -05:00
Thaddeus Crews
5d98556f28
Merge pull request #95200 from Chaosus/gdscript_fix_enum_lookup
Fix lookup symbol for enum members to search a correct code definition
2024-10-10 18:13:15 -05:00
Thaddeus Crews
6a76f18f77
Merge pull request #97866 from Repiteo/codeowners
Update `CODEOWNERS`
2024-10-10 14:07:58 -05:00
Thaddeus Crews
a44f691fc7
CI: Add MinGW/GCC build to Windows GHA 2024-10-10 10:10:55 -05:00
Clay John
68f053bf82
Merge pull request #98017 from rburing/clipper2_arc_tolerance
Some checks are pending
🔗 GHA / 📊 Static checks (push) Waiting to run
🔗 GHA / 🤖 Android (push) Blocked by required conditions
🔗 GHA / 🍏 iOS (push) Blocked by required conditions
🔗 GHA / 🐧 Linux (push) Blocked by required conditions
🔗 GHA / 🍎 macOS (push) Blocked by required conditions
🔗 GHA / 🏁 Windows (push) Blocked by required conditions
🔗 GHA / 🌐 Web (push) Blocked by required conditions
🔗 GHA / 🪲 Godot CPP (push) Blocked by required conditions
Restore `arc_tolerance` value when using Clipper2's `InflatePaths`
2024-10-10 15:18:05 +02:00
Clay John
42cc7d456a
Merge pull request #97842 from ttencate/doc/fog_aerial_perspective
Clarify that fog_aerial_perspective does not actually use sky color
2024-10-10 14:33:00 +02:00
Thaddeus Crews
580b9d2aca
Update CODEOWNERS 2024-10-09 10:24:05 -05:00
DE YU
d4695e84a4 Add ReadOnlySpan API Overloads
Co-authored-by: Raul Santos <raulsntos@gmail.com>
Co-authored-by: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com>
2024-10-09 23:14:38 +08:00
Ricardo Buring
9652695f6f Restore arc_tolerance value when using Clipper2's InflatePaths
This was missed when upgrading from Clipper to Clipper2.
2024-10-09 14:13:23 +02:00
BlueCube3310
203f7427c4 Fix crash when creating thumbnails for 3d textures 2024-10-09 12:34:19 +02:00
Chaosus
54f6a1bf64 Fix lookup symbol for enum members to search a correct code definition 2024-10-08 22:46:44 +03:00
Thaddeus Crews
4c4e673344
Merge pull request #97981 from bruvzg/macos_vulkan_install
Some checks failed
🔗 GHA / 📊 Static checks (push) Has been cancelled
🔗 GHA / 🤖 Android (push) Has been cancelled
🔗 GHA / 🍏 iOS (push) Has been cancelled
🔗 GHA / 🐧 Linux (push) Has been cancelled
🔗 GHA / 🍎 macOS (push) Has been cancelled
🔗 GHA / 🏁 Windows (push) Has been cancelled
🔗 GHA / 🌐 Web (push) Has been cancelled
🔗 GHA / 🪲 Godot CPP (push) Has been cancelled
[macOS] Update Vulkan SDK install script.
2024-10-08 11:49:10 -05:00
bruvzg
74df6f192a
[macOS] Update Vulkan SDK install script. 2024-10-08 19:37:09 +03:00
Thaddeus Crews
71fe3d96ea
Merge pull request #97951 from juanjp600/dotnet-dictionary-debug-view
Fix untyped dictionary .NET debug visualization showing keys as values
2024-10-08 11:16:24 -05:00
Thaddeus Crews
f31a2cc9c9
Merge pull request #97270 from timothyqiu/optional-edconfig
Create `.editorconfig` file only on project creation
2024-10-08 11:14:43 -05:00
Clay John
3cc4e0ab6f
Merge pull request #97922 from squidgyberries/master
Clarify SIMPLEX and SIMPLEX_SMOOTH types
2024-10-08 09:36:16 -06:00
Anish Mishra
2323042e7b Refresh Filesystem Dock after android build template is created 2024-10-08 06:30:44 +05:30
Clay John
842f982397
Merge pull request #96819 from clayjohn/GLES3-instance-uniforms
Some checks are pending
🔗 GHA / 📊 Static checks (push) Waiting to run
🔗 GHA / 🤖 Android (push) Blocked by required conditions
🔗 GHA / 🍏 iOS (push) Blocked by required conditions
🔗 GHA / 🐧 Linux (push) Blocked by required conditions
🔗 GHA / 🍎 macOS (push) Blocked by required conditions
🔗 GHA / 🏁 Windows (push) Blocked by required conditions
🔗 GHA / 🌐 Web (push) Blocked by required conditions
🔗 GHA / 🪲 Godot CPP (push) Blocked by required conditions
Implement instance uniforms in Compatibility renderer
2024-10-07 13:41:47 -06:00
Juan Pablo Arce
c41601fa9c Fix untyped dictionary .NET debug visualization showing keys as values 2024-10-07 16:27:42 -03:00
Clay John
e7c39efdb1
Merge pull request #97309 from kroketio/metal-expose-device-handle
Metal: expose MTLDevice
2024-10-07 11:00:53 -06:00
squidgyberries
2bd7d8e7e4
Clarify SIMPLEX and SIMPLEX_SMOOTH types 2024-10-07 19:41:18 +08:00
Thomas ten Cate
7df2804a30 Clarify that fog_aerial_perspective does not actually use sky color
See #97803.
2024-10-07 09:09:09 +02:00
BlueCube3310
a60195e23d Fix decompressing textures with dimensions that are not multiples of 4 2024-10-06 11:13:39 +02:00
Haoyu Qiu
8086894a8e Create .editorconfig file only on project creation 2024-10-05 14:32:55 +08:00
Kenton M
c72cf350ac fix typo on PackedVector2Array docs 2024-10-04 19:08:23 -07:00
kobewi
b9d25580ce Fix implementation of property_can_revert() in various classes 2024-10-04 23:02:04 +02:00
Rémi Verschelde
db66bd35af
Merge pull request #97820 from passivestar/quick-open-bg
Some checks failed
🔗 GHA / 📊 Static checks (push) Has been cancelled
🔗 GHA / 🤖 Android (push) Has been cancelled
🔗 GHA / 🍏 iOS (push) Has been cancelled
🔗 GHA / 🐧 Linux (push) Has been cancelled
🔗 GHA / 🍎 macOS (push) Has been cancelled
🔗 GHA / 🏁 Windows (push) Has been cancelled
🔗 GHA / 🌐 Web (push) Has been cancelled
🔗 GHA / 🪲 Godot CPP (push) Has been cancelled
Fix quick open background panel style
2024-10-04 22:44:00 +02:00
Rémi Verschelde
aaffffcd43
Merge pull request #97817 from bruvzg/prop_warn_remove
Partially revert #96780, remove warnings from project/editor settings `_get`.
2024-10-04 22:43:56 +02:00
Rémi Verschelde
41c55f07c7
Merge pull request #97811 from DarioSamo/2d-msaa-fix
Configure MSAA properly in canvas renderer's pipelines.
2024-10-04 22:43:53 +02:00
Rémi Verschelde
f6dbc04bd1
Merge pull request #97809 from Geometror/fix-ge-conn-layer-warning
[GraphEdit] Only print warning for connection layer deletion when justified
2024-10-04 22:43:49 +02:00
Rémi Verschelde
b0d512636c
Merge pull request #97570 from dustdfg/ios_macos/print_warning_instead_of_comments
Replace comments with printed warning for Metal on x86_64
2024-10-04 22:43:46 +02:00
Rémi Verschelde
def5a04d06
Merge pull request #97543 from KoBeWi/to_edit_or_not_to_edit
Fix closing Theme Editor not actually closing it
2024-10-04 22:43:41 +02:00
Rémi Verschelde
e5688f51cb
Merge pull request #97292 from KoBeWi/infinite_submenus_in_your_editor
Add submenu support to EditorContextMenuPlugin
2024-10-04 22:43:38 +02:00
Rémi Verschelde
9108c6261b
Merge pull request #97291 from KoBeWi/visible_in_tree_was_a_billion_dollar_mistake
Fix ScrollContainer configuration warnings
2024-10-04 22:43:33 +02:00
Rémi Verschelde
14eee2b930
Merge pull request #97240 from KoBeWi/wrong_number
Print error on invalid `call_group()` calls
2024-10-04 22:43:30 +02:00
Rémi Verschelde
0c3ff561d7
Merge pull request #96615 from KoBeWi/run_as_administrator
Globally remember advanced toggle in project settings
2024-10-04 22:43:25 +02:00
Rémi Verschelde
c36c153c2b
Merge pull request #96379 from KoBeWi/wind_of_resource_changes
Add `_resource_changed()` helper method to EditorResourcePicker
2024-10-04 22:43:21 +02:00
Rémi Verschelde
19081a850d
Merge pull request #95889 from KoBeWi/tree_growing_sideways
Allow horizontal scrolling in Tree using Shift
2024-10-04 22:43:17 +02:00
Rémi Verschelde
0d1873da9c
Merge pull request #95544 from KoBeWi/clean_code™
Misc code cleanup in EditorFileDialog
2024-10-04 22:43:13 +02:00
Rémi Verschelde
b08a3d8978
Merge pull request #95149 from KoBeWi/inspector_mains
Don't fold resources when child of main inspector exits
2024-10-04 22:43:08 +02:00