Commit graph

34913 commits

Author SHA1 Message Date
Fredia Huya-Kouadio
3943de2e6c
Merge pull request #71875 from m4gr3d/editor_optimization_3x
[3.x] Add benchmark logic
2023-04-22 20:18:45 -07:00
Fredia Huya-Kouadio
d46684057b
Merge pull request #76329 from m4gr3d/downgrade_agp_3x
[3.x] Downgrade android gradle plugin to version 7.2.1.
2023-04-22 20:12:03 -07:00
Fredia Huya-Kouadio
837db0b051 Downgrade android gradle plugin to version 7.2.1.
Version 7.3.0 changes the build layout which causes updates to the generated shared libraries to not be picked up.
2023-04-21 13:19:45 -07:00
Clay John
17e0a0205d
Merge pull request #76072 from dsnopek/webxr-ar-clear-fix
Disable blending before blitting to framebuffer from WebXR
2023-04-17 10:17:14 -07:00
Rémi Verschelde
78739f7266
Merge pull request #76016 from AThousandShips/image_compress
[3.x] Expose more compression formats in Image
2023-04-17 17:25:37 +02:00
Rémi Verschelde
a6b01ca69d
Merge pull request #75995 from AThousandShips/3_x_autohide_theme
[3.x] Don't apply scale to autohide theme property
2023-04-17 17:25:35 +02:00
Rémi Verschelde
d02656f91f
Merge pull request #75992 from jasonwinterpixel/bugfix/3.x-fix-android-null
[3.x] Fix null in android text entry system.
2023-04-17 17:25:32 +02:00
Rémi Verschelde
e3656745cc
Merge pull request #69723 from lawnjelly/surface_tool_revamp
SurfaceTool - efficiency improvements
2023-04-17 17:25:30 +02:00
Rémi Verschelde
4c5a934408
Merge pull request #68960 from lawnjelly/multirect
Batching - Add MultiRect command
2023-04-17 17:25:20 +02:00
David Snopek
77deae0483 Disable blending before blitting to framebuffer from WebXR 2023-04-14 17:39:44 -05:00
Ninni Pipping
2ca86ef449 [3.x] Expose more compression formats in Image 2023-04-13 09:49:16 +02:00
Rémi Verschelde
995c24415a
Merge pull request #75987 from akien-mga/3.6-changelog
Add preliminary changelog for Godot 3.6
2023-04-12 17:54:34 +02:00
Ninni Pipping
1c66257568 [3.x] Don't apply scale to autohide theme property 2023-04-12 17:45:27 +02:00
Jason Knight
cec8e09948 Fix null in android text entry system. 2023-04-12 09:20:44 -06:00
Rémi Verschelde
e9add1182e
Add preliminary changelog for Godot 3.6 2023-04-12 16:16:49 +02:00
Rémi Verschelde
632a544c6e
Merge pull request #75527 from lawnjelly/growable_message_queue3
[3.x] Make MessageQueue growable
2023-04-11 22:01:32 +02:00
Rémi Verschelde
b14a759fb3
Merge pull request #75898 from YuriSizov/docs-make-rst-enhancements-3.x
Update `make_rst.py` to match the master version
2023-04-11 15:03:37 +02:00
Rémi Verschelde
6a9192ac65
Merge pull request #75217 from AThousandShips/3_x_webm
[3.x] Document lack of iOS support for WebM
2023-04-11 10:53:42 +02:00
Rémi Verschelde
2c2ae757a8
Merge pull request #75205 from m4gr3d/bump_target_sdk_33_3x
[3.x] Bump the target SDK version to 33 (Android 13)
2023-04-11 10:53:39 +02:00
Rémi Verschelde
98f0809373
Merge pull request #75147 from m4gr3d/fix_directory_access_with_all_files_access_permission_3x
[3.x] Fix directory access when the running app has the `All files access` permission
2023-04-11 10:53:36 +02:00
Rémi Verschelde
0facd88410
Merge pull request #74973 from timothyqiu/a-color
[3.x] Add Color + alpha constructor for Color
2023-04-11 10:53:33 +02:00
Rémi Verschelde
baf2fe8771
Merge pull request #74870 from rsubtil/range_value_no_signal
[3.x] Add `set_value_no_signal()` to Range
2023-04-11 10:53:30 +02:00
Rémi Verschelde
ed78553df5
Merge pull request #72511 from lawnjelly/bvh_render_treemask
Eliminate collision checks between geometry in rendering BVH.
2023-04-11 10:53:26 +02:00
Rémi Verschelde
564622af51
Merge pull request #69645 from radenling/backport-fix-viewport-update-in-editor
[3.x] Fix for 2D viewport not updating in the editor when the camera moves
2023-04-11 10:53:20 +02:00
Yuri Sizov
0f24d6ecf7 Update make_rst.py to match the master version
This does not include master-specific concepts, like
constructors, operators, annotations, and bitfields.
2023-04-10 20:47:01 +02:00
lawnjelly
5f1e7e6fbc Make MessageQueue growable
* Uses simple vector resizing (po2)
* Uses pair of read and write buffers
2023-03-31 10:07:56 +01:00
Richard Adenling
3cfbabfa59 Fix for 2D viewport not updating in the editor when the camera moves
This fixes a problem with 2D viewports not taking the camera position
into consideration when previewed in the editor.

Fixes #40441
2023-03-26 20:49:59 +02:00
Ninni Pipping
7d48dd7782 [3.x] Document lack of iOS support for WebM 2023-03-22 19:37:56 +01:00
Fredia Huya-Kouadio
2803c471e8 Bump the target SDK version to 33 (Android 13) 2023-03-21 19:24:39 -07:00
lawnjelly
b0c399ec8c
Merge pull request #74895 from smix8/gridmap_navrid_error_spam_3.x
[3.5+] Fix GridMap free navigation RID error spam
2023-03-21 14:28:25 +00:00
Fredia Huya-Kouadio
f3cdff46fc Add benchmark logic
Add benchmarking measuring methods to `OS` to allow for platform specific overrides (e.g: can be used to hook into platform specific benchmarking and tracing capabilities).
2023-03-20 23:29:36 -07:00
Fredia Huya-Kouadio
e2c7d3e6c0 Fix directory access when the running app has the All files access permission 2023-03-20 09:00:48 -07:00
lawnjelly
18398f477c
Merge pull request #74933 from timothyqiu/unlit
[3.x] Set unlit/unshaded extension when importing/exporting GLTF
2023-03-19 14:40:49 +00:00
lawnjelly
ab4d76ec38
Merge pull request #74953 from Khejanin/fix_texturelod
Fixed Whitescreen Issue in GLES2.0 Glow Setting
2023-03-19 10:57:41 +00:00
Haoyu Qiu
3544cd1dad Add Color + alpha constructor for Color 2023-03-16 14:51:40 +08:00
Alex Nogueira
01d0b9ad15 Fixed Whitescreen Issue in GLES2.0 Glow Setting
Replaced textureLod with texture2DLod in the tonemapping.glsl shader file.
2023-03-15 18:13:57 +01:00
Haoyu Qiu
6d7bc801f6 Set the unlit / unshaded extension when importing / exporting GLTF
Co-authored-by: Hakim <hakim.rouatbi@gmail.com>
2023-03-15 17:26:06 +08:00
smix8
befdafdbf6 [3.5+] Fix GridMap free navigation RID error spam
Fixes GridMap free navigation RID error spam.
2023-03-14 05:12:39 +01:00
kobewi
fdae01de10 Add set_value_no_signal() to Range 2023-03-13 16:36:18 +00:00
Rémi Verschelde
26a584179c
Merge pull request #74794 from lawnjelly/gdscript_parser_hashtable
[3.x] Use hash table for GDScript parsing
2023-03-12 16:19:07 +01:00
Rémi Verschelde
16df3416fa
Merge pull request #74777 from lawnjelly/textedit_lineinregion
[3.x] Fix TextEdit color_region_cache bug
2023-03-12 16:12:36 +01:00
lawnjelly
19f2006ec0 Use hash table for GDScript parsing
GDScript now uses hash table for lookup of type lists / functions / keywords, instead of linear String comparisons.
2023-03-12 14:55:31 +00:00
Rémi Verschelde
1a4bcad16d
Merge pull request #74782 from lawnjelly/gdscriptparser_linkedlist
[3.x] GDScriptParser - don't use index operator on linked list
2023-03-12 15:51:29 +01:00
lawnjelly
ef914dac31 GDScriptParser - don't use index operator on linked list
Index operators are super slow with linked lists. This came up in profiling the parsing, iterating sequentially using iterator is much faster.
2023-03-11 17:05:12 +00:00
lawnjelly
57306bf0e3 Fix TextEdit color_region_cache bug
Due to a single error, _is_line_in_region was previously iterating over the color highlighting for the entire document repeatedly for each line in the script.

This is now fixed, which should make the editor much faster with large scripts.
2023-03-11 16:18:29 +00:00
lawnjelly
1a4ef34d50
Merge pull request #74539 from Ansraer/3.x-fix-shadows
[3.x] Fix shadows when using 2 directional lights
2023-03-11 10:00:21 +00:00
lawnjelly
910ddd13c4 Batching - Add MultiRect command
Large groups of similar rects can be processed more efficiently using the MultiRect command. Processing common to the group can be done as a one off, instead of per rect.

Adds the new API to VisualServerCanvas, and uses the new functionality from Font, BitmapFont, DynamicFont and TileMap, via the VisualServerCanvasHelper class.
2023-03-10 10:58:04 +00:00
lawnjelly
18d7d36b63 Eliminate collision checks between geometry in rendering BVH.
Later logic using the `pairable_mask` would catch cases preventing pairing callbacks between geometry. However the collision checks were still taking place, wasting performance.

Here we utilize the `tree_mask` feature of BVH to totally eliminate unnecessary collision checks between geometry.
2023-03-09 11:16:30 +00:00
Ansraer
0227fcc4cc fix shadows pass viewport calculation 2023-03-07 11:22:05 +01:00
Rémi Verschelde
8e7bb469b5
Merge pull request #74490 from akien-mga/3.x-cherrypicks
Cherry-picks for the 3.x branch (future 3.6) - 12th batch
2023-03-06 15:08:31 +01:00