1
0
mirror of https://github.com/godotengine/godot.git synced 2026-01-07 19:53:17 +00:00
Commit Graph

72167 Commits

Author SHA1 Message Date
Thaddeus Crews
991d01fb52 Merge pull request #103891 from shahriarlabib000/update_readme
Update logo/run icon path in platform READMEs
2025-03-10 21:05:55 -05:00
Thaddeus Crews
d01d2f0baf Merge pull request #103937 from Chubercik/mypy-1.14.1
Revert `mypy` update (`1.15.0` -> `1.14.1`)
2025-03-10 21:05:54 -05:00
Thaddeus Crews
b404c5d98f Merge pull request #103936 from Ivorforce/localvector-span
Add `Span` conversion to `LocalVector`.
2025-03-10 21:05:53 -05:00
Thaddeus Crews
4af4b66d1b Merge pull request #102765 from Delsin-Yu/csharp-typed-collections-documentation-improvments
[C#] Improve Documentation for Typed `Godot.Collections` Wrappers
2025-03-10 21:05:52 -05:00
Thaddeus Crews
1202eee590 Merge pull request #102661 from Chubercik/clipper2-1.5.2
clipper2: Update to 1.5.2
2025-03-10 21:05:51 -05:00
Thaddeus Crews
d7c9c3a5f6 Merge pull request #102538 from Chubercik/ufbx-0.16.0
ufbx: Update to 0.17.1
2025-03-10 21:05:50 -05:00
Thaddeus Crews
3f759f488d Merge pull request #103491 from bruvzg/hb1040
Update HarfBuzz to 10.4.0
2025-03-10 21:05:48 -05:00
Thaddeus Crews
669b055d68 Merge pull request #103492 from bruvzg/ft2133
Update FreeType to 2.13.3
2025-03-10 21:05:47 -05:00
Thaddeus Crews
854e973570 Merge pull request #101352 from Ivorforce/string-latin1-explicit
Make use of `latin1` encoding explicit in `gdextension_interface.cpp`.
2025-03-10 21:05:46 -05:00
Thaddeus Crews
ff674de65e Merge pull request #103903 from kiroxas/improveCylinderGizmo
Improve cylinder gizmo performance
2025-03-10 21:05:45 -05:00
Thaddeus Crews
13907ec474 Merge pull request #103910 from kiroxas/ImproveSphereGizmoPerformance
Improve Sphere gizmo performance
2025-03-10 21:05:44 -05:00
Thaddeus Crews
590fa90722 Merge pull request #100339 from syntaxerror247/touch-actions-panel
Add a `TouchActionsPanel` to Android Editor
2025-03-10 21:05:43 -05:00
Jakub Marcowski
1782c72592 Revert mypy update (1.15.0 -> 1.14.1) 2025-03-10 22:40:04 +01:00
Lukas Tenbrink
f5cb739a18 Add Span conversion to LocalVector. 2025-03-10 22:30:39 +01:00
Kiro
8eaab62930 Improve cylinder gizmo performance 2025-03-10 20:14:45 +01:00
Kiro
4915f916a4 Improve sphere gizmo performance 2025-03-10 20:12:43 +01:00
Lukas Tenbrink
1818453faa Make use of latin1 encoding explicit in gdextension_interface.cpp. 2025-03-10 19:33:56 +01:00
Thaddeus Crews
30bb49ec1f Merge pull request #102356 from a-johnston/add_missing_cs_vector_methods
Add `Min(float)` and octahedron encode/decode to `Vector3.cs`
2025-03-10 10:01:20 -05:00
Thaddeus Crews
c42fe6fb36 Merge pull request #95736 from nongvantinh/checkbox-states-colors
Allow changing the color for the Checkbox's checked and unchecked icons
2025-03-10 10:01:18 -05:00
Thaddeus Crews
9ef22c227a Merge pull request #96296 from aryan-11825114/fix-curve-edit-set-point-pos
Fix `changed` signal emission in `Curve::set_point_offset`
2025-03-10 10:01:16 -05:00
Thaddeus Crews
b40e6a55ac Merge pull request #101884 from aaronp64/camera_gizmo_fov_fix
Fix `Camera3D` gizmo representation to accurately reflect FOV
2025-03-10 10:01:13 -05:00
Thaddeus Crews
7d46e7d011 Merge pull request #98379 from timothyqiu/alien-thread
Translate main thread name in the editor instead of running project
2025-03-10 10:01:11 -05:00
Thaddeus Crews
dbed8c30a7 Merge pull request #103893 from timothyqiu/bracket
Fix BBCode tag for NativeMenu class reference
2025-03-10 10:01:09 -05:00
Thaddeus Crews
3d5a74cc48 Merge pull request #103897 from bruvzg/as_leak
Fix AudioServer missing deletes.
2025-03-10 10:01:09 -05:00
Thaddeus Crews
bea6d4c71d Merge pull request #103577 from YYF233333/noinline-err-print
Prevent inlining error printing functions
2025-03-10 10:01:08 -05:00
Thaddeus Crews
dae32f8ec6 Merge pull request #92737 from AThousandShips/packed_erase
[Core] Expose `Packed*Array::erase`
2025-03-10 10:01:06 -05:00
Thaddeus Crews
a13067e61f Merge pull request #97553 from AThousandShips/semantic_equal
[Core] Add `is_same` to types that have float components
2025-03-10 10:01:05 -05:00
Thaddeus Crews
8d1c1c5867 Merge pull request #92476 from AThousandShips/string_remove_char
Add `String::remove_char(s)` methods for performance and convenience
2025-03-10 10:01:04 -05:00
Thaddeus Crews
1901d7dbdf Merge pull request #100293 from Ivorforce/buffer-view
Add `Span` struct (replacing `StrRange`). Spans represent read-only access to a contiguous array, resembling `std::span`.
2025-03-10 10:01:03 -05:00
Thaddeus Crews
a5acf1dc81 Merge pull request #101174 from Repiteo/style/objc-import-syntax
Style: Standardize Obj-C `#import` syntax
2025-03-10 10:01:02 -05:00
aryan-11825114
cd71f97209 fix changed signal emission in Curve::set_point_offset 2025-03-10 17:50:05 +05:30
A Thousand Ships
331a43a9d8 Add String::remove_char(s) methods for performance and convenience 2025-03-10 13:19:28 +01:00
Pāvels Nadtočajevs
28a696979d Fix AudioServer missing deletes. 2025-03-10 12:00:53 +02:00
Haoyu Qiu
1082b19156 Fix BBCode tag for NativeMenu class reference 2025-03-10 15:23:37 +08:00
shahriarlabib000
25a8b808d3 update logo/run icon path in README 2025-03-10 12:03:41 +06:00
Lukas Tenbrink
605b62cd29 Add Span struct (replacing StrRange). Spans represent read-only access to a contiguous array, resembling std::span. 2025-03-09 18:19:51 +01:00
Thaddeus Crews
cae3d722a3 Merge pull request #99321 from AThousandShips/use_get_slicec
Use `get_slicec` instead of `get_slice` for single character splitters
2025-03-09 09:05:29 -05:00
Thaddeus Crews
3a0b8da168 Merge pull request #101304 from Ivorforce/string-parse-ascii
Add `String::ascii` creator functions, to parse a char buffer as ASCII.
2025-03-09 09:05:28 -05:00
Thaddeus Crews
2324805fdc Merge pull request #103773 from Calinou/windows-low-processor-mode-sleep-cpu
Use more efficient sleep approach on Windows when low-processor mode is enabled
2025-03-09 09:05:27 -05:00
Thaddeus Crews
629b6767e6 Merge pull request #103778 from darksylinc/matias-xr-disabled-fix
Fix build errors when building with `disable_xr=yes`
2025-03-09 09:05:26 -05:00
Thaddeus Crews
bf6031890e Merge pull request #103814 from darksylinc/matias-update_perf_report-speedup
RenderingDevice: Delay expensive operations to `get_perf_report`
2025-03-09 09:05:24 -05:00
Thaddeus Crews
dfdb5359ea Merge pull request #103547 from clayjohn/forward-plus_instance_data_optimize
Optimize `_fill_instance_data` function in Forward+ renderer.
2025-03-09 09:05:19 -05:00
Thaddeus Crews
f42565cc13 Merge pull request #103794 from clayjohn/mobile-allocations
Significantly reduce per-frame memory allocations from the heap in the Mobile renderer
2025-03-09 09:05:08 -05:00
A Thousand Ships
466590d0ec Use get_slicec instead of get_slice for single character splitters 2025-03-08 20:36:37 +01:00
Thaddeus Crews
713a1ba554 Style: Standardize Obj-C #import syntax 2025-03-08 09:28:34 -06:00
Matias N. Goldberg
21133425cc Delay expensive operations to get_perf_report
The function update_perf_report() is expensive and is called every
frame.
Most of it is not necessary unless the user calls get_perf_report

Affects #102173
2025-03-08 11:25:46 -03:00
clayjohn
5efcd64b23 Reduce per-frame memory allocations from the heap in the Mobile renderer. 2025-03-07 22:01:24 -08:00
Matias N. Goldberg
860f1da3b8 Fix build errors when building with disable_xr=yes
Building with the following params (note: scu_build is enabled):

```
platform=linuxbsd builtin_embree=yes builtin_enet=no
builtin_freetype=yes builtin_graphite=yes builtin_harfbuzz=yes
builtin_libogg=no builtin_libpng=yes builtin_libtheora=no
builtin_libvorbis=no builtin_libwebp=no builtin_miniupnpc=no
builtin_pcre2=no builtin_zlib=yes builtin_zstd=no linker=mold
optimize=none debug_symbols=True tests=True dev_mode=True dev_build=True
use_llvm=yes use_lld=yes opengl3=no openxr=no disable_xr=yes -j 24
scu_build=yes scu_limit=256
```

Results in compiler errors:

```
In file included from servers/register_server_types.cpp:99:
servers/xr/xr_interface.h:52:7: error: redefinition of 'RefCounted'
   52 | class XRInterface : public RefCounted {
      |       ^
./servers/rendering/rendering_method.h:40:21: note: expanded from macro
'XRInterface'
   40 | #define XRInterface RefCounted
      |                     ^
./core/object/ref_counted.h:37:7: note: previous definition is here
   37 | class RefCounted : public Object {
      |       ^
```

This happens because of:

```
#ifdef XR_DISABLED
// RendererSceneCull::render_camera is empty when 3D is disabled, but
// it and RenderingMethod::render_camera have a parameter for
XRInterface.
#define XRInterface RefCounted
#else
#include "servers/xr/xr_interface.h"
#endif // XR_DISABLED
```

In rendering_method.h
2025-03-07 21:13:09 -03:00
clayjohn
574f5126a2 Optimize _fill_instance_data function in Forward+ and Mobile renderers.
This batches together a couple of micro-optimizations that were discovered in profiling and analyzing disassembly.

Importantly, this reduces the amount of instructions in a heavy loop. This has the biggest impact when there are lots of objects and lights in the scene as the function is called once per objects + once per light that touches the object
2025-03-07 15:44:53 -08:00
Thaddeus Crews
b5bdb88062 Merge pull request #102298 from Repiteo/style/pragma-once
Replace header guards style with `#pragma once`
2025-03-07 17:37:04 -06:00