1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-06 12:20:30 +00:00
Commit Graph

10145 Commits

Author SHA1 Message Date
Michael Alexsander
d678b095f9 Make possible to favorite properties in the inspector 2024-10-28 21:18:21 -03:00
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
Adam Johnston
3ac043c508 Add fuzzy string matching to quick open search
Co-authored-by: sam <samsface@gmail.com>
2024-10-28 11:24:36 -07:00
Arseny Kapoulkine
494fe2fe21 LOD: Remove "Raycast Normals" and associated "Normal Split Angle" settings
"Raycast Normals" was introduced in 4.4 dev and defaulted to "false".
The limited testing results at the time suggested that raycasting
generally reduces normal quality compared to native simplifier results,
at the same time increasing vertex memory and import time.

To play it safe, we introduced a setting that defaulted to false, with
the goal of removing it later in 4.4 development cycle if no regressions
are noticed. Since we already had three dev snapshots and no reports,
this change removes the setting and associated code.

"Normal Split Angle" was only used when raycast normals were enabled;
this change removes it from the settings, but keeps it in the script
binding for compatibility.

Existing meshes import exactly the same after this change (unless they
chose to override raycasting which would be surprising).

split_normals helper was only used in this code path and is also removed
for simplicity; it is unlikely that this code will be useful as is, as
it can only regenerate normals without fixing tangents or updating
positions.
2024-10-28 10:14:04 -07:00
Clay John
a3080477ac Merge pull request #98281 from timothyqiu/custom-tooltip-atm
Don't override auto translate mode of custom tooltip
2024-10-27 19:25:37 -07:00
ArjhanToteck
eb761d83cb Fix grammar mistake in Shortcut documentation 2024-10-27 14:39:57 -06:00
tetrapod00
c51cdaf006 Docs: Add note about C# differences in Variant constructors 2024-10-27 13:24:26 -07:00
skyace65
b16888286b Improve get surrounding cells description 2024-10-27 14:28:42 -04:00
skyace65
fdfd37f1a4 Remove link to outdated CharFX example project 2024-10-27 14:03:33 -04:00
Guilherme Sousa
ec62978dd0 Fix non const animation node process function 2024-10-26 17:56:51 +02:00
Thaddeus Crews
15bec19e11 Merge pull request #98421 from Calinou/doc-backbuffercopy-screen-reading-shaders-tutorial
Link to Screen-reading shaders tutorial in BackBufferCopy documentation
2024-10-25 13:04:11 -05:00
Thaddeus Crews
07e759b74a Merge pull request #97771 from dsnopek/openxr-linux-egl
OpenXR: Add support for Wayland on Linux
2024-10-25 13:04:08 -05:00
Thaddeus Crews
02088ab44c Merge pull request #74714 from dalexeev/expose-bresenham-line
Expose `Geometry2D.bresenham_line()` method
2024-10-25 13:04:05 -05:00
Thaddeus Crews
a2e3473532 Merge pull request #98378 from dalexeev/doc-clarify-engine-debugger
Clarify `EngineDebugger` and `EditorDebugger*` documentation
2024-10-25 13:04:04 -05:00
Thaddeus Crews
422535ee86 Merge pull request #97966 from mh114/mh114-fix-control-doc-typo
Fix a documentation typo in `Control._drop_data()` C#-example.
2024-10-25 13:03:56 -05:00
Thaddeus Crews
eb18b0dee2 Merge pull request #98332 from syntaxerror247/Improve-HttpRequest-Docs
Add missing `HTTPRequest` Result descriptions.
2024-10-25 13:03:51 -05:00
Thaddeus Crews
de6814daae Merge pull request #94108 from Calinou/obj-import-add-generate-lods-shadow-mesh-lightmap-uv2
Add Generate LODs, Shadow Mesh and Lightmap UV2 options to OBJ mesh import
2024-10-25 13:03:50 -05:00
Thaddeus Crews
1f346a5dcd Merge pull request #98435 from Calinou/audio-add-get-driver-name
Add `AudioServer.get_driver_name()` to get the actual audio driver name
2024-10-25 13:03:41 -05:00
bruvzg
c8609f4c0f [macOS/iOS] Use hardware sampling rates for audio I/O. 2024-10-25 19:26:24 +03:00
Michael Macha
9e51379cbb Update OccluderInstance3D.xml
Corrected a typo; "Debug Advanced" should be "Display Advanced".
2024-10-25 09:08:38 -06:00
Haoyu Qiu
6424b201e2 Don't override auto translate mode of custom tooltip 2024-10-25 16:13:45 +08:00
Danil Alexeev
9f0ae21095 Expose Geometry2D.bresenham_line() method
Co-authored-by: Hugo Locurcio <hugo.locurcio@hugo.pro>
2024-10-25 10:27:55 +03:00
Clay John
67dbb46606 Merge pull request #98480 from tetrapod00/link-project-settings-tutorial
Docs: Link to Project Settings tutorial from ProjectSettings class
2024-10-24 18:40:42 -07:00
Hugo Locurcio
b8ee61f45d Add Generate LODs, Shadow Mesh and Lightmap UV2 options to OBJ mesh import
This puts OBJ mesh import on parity with 3D scene import. It's now
possible to have the same level of optimization as imported 3D scenes
while using the OBJ mesh workflow.

`optimize_indices_for_cache()` is now always called on import as well,
similar to what the 3D scene import already does.
2024-10-25 02:48:42 +02:00
Thaddeus Crews
c278d57233 Merge pull request #98427 from syntaxerror247/document-immersive-mode
Add documentation for Android immersive mode
2024-10-24 13:23:05 -05:00
Thaddeus Crews
cfc05c5e0f Merge pull request #85338 from EMBYRDEV/shadow-caster-mask
Add `shadow_caster_mask` to Light3D.
2024-10-24 13:22:59 -05:00
Thaddeus Crews
f25c082c40 Merge pull request #98490 from KoBeWi/pointer_to_canvas
Improve `make_canvas_position_local()` description
2024-10-24 13:22:52 -05:00
Thaddeus Crews
28f56eb1c7 Merge pull request #98473 from tetrapod00/str-docs
Docs: Link to GlobalScope string methods from String class ref
2024-10-24 13:22:47 -05:00
Thaddeus Crews
e2bd0a8298 Merge pull request #98458 from KoBeWi/don't_repeat_the_same_mistakes
Clarify tiling of AtlasTexture
2024-10-24 13:22:46 -05:00
Thaddeus Crews
ff5e2d7db1 Merge pull request #98455 from betalars/audio-doc-enhancements
AudioEffects documentation enhancements
2024-10-24 13:22:41 -05:00
Thaddeus Crews
8c52533aed Merge pull request #86539 from stechyo/gdext/expose-audio-playback-methods
Expose some AudioStreamPlayback methods (namely `mix_audio()`).
2024-10-24 13:22:35 -05:00
Thaddeus Crews
ab4de57904 Merge pull request #98438 from BrianBHuynh/master
Document the differences between GDScript and GlobalScope
2024-10-24 13:22:33 -05:00
Thaddeus Crews
444ee64062 Merge pull request #98304 from timothyqiu/menu-only-shortcut-keys
Clarify `LineEdit.shortcut_keys_enabled` only affects context menu items
2024-10-24 13:22:32 -05:00
betalars
1be2f8c535 AudioEffectFilter and StereoEnhance: Documentation improvements 2024-10-24 15:15:52 +02:00
kobewi
e0c7e063e5 Improve make_canvas_position_local description 2024-10-24 15:10:20 +02:00
tetrapod00
8f7e8c59ff Docs: Link to Project Settings tutorial from ProjectSettings class 2024-10-23 20:51:20 -07:00
tetrapod00
a0134ad375 Docs: link to GlobalScope string methods from String docs 2024-10-23 14:07:27 -07:00
kobewi
3ebac9006b Clarify tiling of AtlasTexture 2024-10-23 23:03:19 +02:00
Brian Huynh
360b84bad5 Clarification to the description of Global scope in regards to GDScript
Previous wording said that @GDScript referred to entries that could be accessed in any script. Although with common sense we could imagine that it is only refering to GDScript specific pieces of code, the wording is a little unclear.

In general there are small changes to the wording which makes it more clear and concise.
Wording change

Tried to match the wording up with my last change which should make it a bit easier to parse at a glance what the docs mean by "from any script"

Changed language from "not specific to" to "which work in any language"

After consulting multiple people the new wording seems easier to parse, even for non coders

Update doc/classes/@GlobalScope.xml

Update modules/gdscript/doc_classes/@GDScript.xml

Update modules/gdscript/doc_classes/@GDScript.xml

Co-Authored-By: Micky <66727710+Mickeon@users.noreply.github.com>
2024-10-23 02:10:03 -04:00
tetrapod00
9cf6cb010e Fix incorrect Transform2D docs
The y vector of a transform 2d was incorrectly described as pointing up.
2024-10-22 17:16:39 -07:00
Hugo Locurcio
77c31b9cc8 Add AudioServer.get_driver_name() to get the actual audio driver name
The project setting does not reflect CLI argument overrides
(including `--headless` which sets the audio driver to `Dummy`),
so it can't be reliably used to detect which audio driver is
actually being used at run-time.
2024-10-22 23:14:59 +02:00
Anish Mishra
827961e4e5 Update documentation for Android immersive mode 2024-10-22 22:55:43 +05:30
Hugo Locurcio
2cd007fa4a Clarify TextEdit.is_caret_visible() behavior in the class reference 2024-10-22 16:48:58 +02:00
Hugo Locurcio
34f5d018f1 Link to Screen-reading shaders tutorial in BackBufferCopy documentation 2024-10-22 16:38:24 +02:00
Thaddeus Crews
22822f71ac Merge pull request #97905 from 0x53A/patch-1
Update Node.xml: specify that normal processing happens in tree order
2024-10-21 16:39:27 -05:00
Thaddeus Crews
7dbea98c49 Merge pull request #97005 from Repiteo/core/window-corner-style
Core: Add `DisplayServer` flag for sharp corners
2024-10-21 16:39:25 -05:00
Thaddeus Crews
8b5c20e2b0 Merge pull request #98283 from tetrapod00/canvasmodulate-link
Docs: Add link to 2D lights and shadows from CanvasModulate
2024-10-21 16:39:24 -05:00
Thaddeus Crews
77da16ce69 Merge pull request #88530 from davthedev/tree-hover-items
Add hover state to Tree items display
2024-10-21 16:39:16 -05:00
Thaddeus Crews
7a438dc72e Merge pull request #97205 from tetrapod00/inspect-native-shader-code
Add "Inspect Native Shader Code" to shader inspector and shader editor
2024-10-21 16:39:13 -05:00
Thaddeus Crews
4ce5235fbd Merge pull request #98203 from timothyqiu/layout-dir-created-equal
Add System Locale layout direction for `Control` and `Window`
2024-10-21 16:39:07 -05:00