1
0
mirror of https://github.com/godotengine/godot.git synced 2025-12-05 17:15:09 +00:00
Commit Graph

383 Commits

Author SHA1 Message Date
Aiden Storey
65a0ace3bc Fix typo in MacOS and iOS export settings 2025-11-19 13:05:57 -05:00
Thaddeus Crews
dc6671a24d Merge pull request #112465 from akien-mga/shader-baker-export-linux
Shader Baker: Fix Linux export warning
2025-11-19 11:04:05 -06:00
Rémi Verschelde
14734cbcf8 Shader Baker: Fix Linux export warning
We now have APIs exactly for this use case of querying project settings
for a target platform instead of the host OS.

- Fixes #112462.
2025-11-19 14:51:38 +01:00
jitspoe
b9d5c3e213 Fix shader baker freezing if there are errors in the shader compilation process.
`tasks_processed` was not incrementing previously, so the packing was never considered "done".
2025-11-19 12:43:09 +01:00
Miracle Aigbogun
b630d374a2 Fixed validation error with export preset names 2025-11-17 18:41:06 -06:00
Thaddeus Crews
93a3ea5ff8 Merge pull request #112590 from syntaxerror247/export-dialog
Default preset container to minimum size in Export dialog
2025-11-13 20:52:15 -06:00
Thaddeus Crews
afa07c1a76 Merge pull request #109987 from van800/shakhov/dap-devices
Refactor debugging on a device with DAP - now possible with all device types
2025-11-12 11:24:10 -06:00
Ivan Shakhov
49ac9f63fd Refactor debugging on a device with DAP - now possible with all device types
Co-authored-by: Thaddeus Crews <repiteo@outlook.com>
2025-11-11 22:54:01 +01:00
Anish Kumar
5bbf280423 Default preset container to minimum size in Export dialog 2025-11-12 02:19:40 +05:30
Haoyu Qiu
b8a8f8b35a Allow localizing the application name with project translations 2025-11-08 13:06:55 +08:00
Thaddeus Crews
d7353e27d8 Merge pull request #111449 from bruvzg/pe_set_max
Enable maximize button for Editor/Project settings dialogs.
2025-11-04 16:32:50 -06:00
Thaddeus Crews
90cab74af9 Merge pull request #110248 from KoBeWi/unexpected_include_hell
Misc cleanup in EditorExportPlatform
2025-11-04 16:32:39 -06:00
Thaddeus Crews
ae9732139a Merge pull request #109433 from KoBeWi/hastension
Add `has_extension()` method to String
2025-10-31 09:23:30 -05:00
kobewi
1c1c3200e4 Misc cleanup in EditorExportPlatform 2025-10-29 22:25:37 +01:00
Thaddeus Crews
edbfb7a6ec Merge pull request #111183 from stuartcarnie/matias-uma-pc-pr
Add Persistent Buffers utilizing UMA
2025-10-24 11:23:11 -05:00
Thaddeus Crews
9d2b619f51 Merge pull request #108737 from bruvzg/adb_scrcpy
[Android] Add export option to use "scrcpy" to run project from editor.
2025-10-24 11:23:03 -05:00
Stuart Carnie
230adb7511 Add Persistent Buffers
This work is a heavily refactored and rewritten from TheForge's initial
code.

TheForge's original code had too many race conditions and was
fundamentally flawed as it was too easy to incur into those data races
by accident.

However they identified the proper places that needed changes, and the
idea was sound. I used their work as a blueprint to design this work.

This PR implements:

 - Introduction of UMA buffers used by a few buffers
(most notably the ones filled by _fill_instance_data).

Ironically this change seems to positively affect PC more than it does
on Mobile.

Updates D3D12 Memory Allocator to get GPU_UPLOAD heap support.

Metal implementation by Stuart Carnie.

Co-authored-by: Stuart Carnie <stuart.carnie@gmail.com>
Co-authored-by: TheForge team
2025-10-24 08:16:19 +11:00
Thaddeus Crews
79c3bf447a Merge pull request #109356 from KoBeWi/advanced_presets
Move advanced toggle state out of export presets
2025-10-23 15:33:52 -05:00
Pāvels Nadtočajevs
f7263b9517 [Android] Add export option to use "scrcpy" to run project from editor. 2025-10-14 15:12:48 +03:00
Thaddeus Crews
d3285f5468 Merge pull request #111185 from WhalesState/vp-disable-xr
More XR disable for Viewport and export.
2025-10-13 19:28:56 -05:00
Rémi Verschelde
4219ce91f2 Merge pull request #110485 from bruvzg/aemb_dtr
Fix iOS/visionOS export plugin crash on exit.
2025-10-13 07:35:19 +02:00
Pāvels Nadtočajevs
f06565ab94 Enable maximize button for Editor/Project settings, Export and Editor Features dialogs. 2025-10-09 15:42:22 +03:00
Thaddeus Crews
ce98fae6e8 Merge pull request #111302 from hijawesam/fix/encryption-docs-link
Editor: Fix 'More Info…' link in Export/Encryption
2025-10-06 14:34:06 -05:00
Mounir Tohami
9894256e3a More XR disable for Viewport and export. 2025-10-06 20:15:07 +03:00
Thaddeus Crews
d1d28c0bcf Merge pull request #111223 from Ivorforce/remove-iterator-include
Replace `std::size` usage with `std_size` to avoid `<iterator>` include.
2025-10-06 09:06:49 -05:00
Wesam
a9d361f88f editor: Fix 'More Info…' link in Export/Encryption (Fixes #111108) 2025-10-05 22:28:31 +03:00
chocola-mint
19c47c5d99 Remove #include "scene/main/timer.h" from control.h 2025-10-05 14:41:06 +09:00
Lukas Tenbrink
1db0a60dc0 Replace std::size usage with std_size to avoid <iterator> include. 2025-10-05 00:26:11 +02:00
Thaddeus Crews
cf3c00056c Merge pull request #109974 from rsanchezsaez/apple/swiftui-lifecycle
SwiftUI lifecycle for Apple embedded platforms
2025-10-03 12:01:09 -05:00
Stuart Carnie
3ffcae66a8 Renderer: Fix missing shader_name; use forward declarations
* Moving over to RenderingShaderContainer, missed setting shader_name
* Use forward declaration reduces compile time when modifying
  rendering_shader_container.h from over 950s to about 10-15
2025-10-02 10:02:18 +10:00
Thaddeus Crews
4594de69fd Merge pull request #111013 from stuartcarnie/shader_container_ext
Renderer: Move `reflect_spirv` to `RenderingShaderContainer`
2025-10-01 17:54:09 -05:00
Thaddeus Crews
22467f3a5b Merge pull request #111018 from Zylann/fix_double_build_get_downloads_availability
Fix unreachable code warning in double-precision builds
2025-09-30 20:10:38 -05:00
Thaddeus Crews
5240f1c283 Merge pull request #108658 from bruvzg/ed_pl_init
[EditorExportPlatform] Move initialization to a dedicated method.
2025-09-30 18:35:25 -05:00
Stuart Carnie
65e8b0951b Renderer: Move reflect_spirv to RenderingShaderContainer
This change introduces a new protected type, `ReflectedShaderStage` to
`RenderingShaderContainer` that derived types use to access SPIR-V and
the reflected module, `SpvReflectShaderModule` allowing implementations
to use the reflection information to compile their platform-specific
module.

* Fixes memory leak in `reflect_spirv` that would not deallocate the
  `SpvReflectShaderModule` if an error occurred.
* Removes unnecessary allocation when creating `SpvReflectShaderModule`
  by passing `NO_COPY` flag to `spvReflectCreateShaderModule2`
  constructor function.
* Replaces `VectorView` with `Span` for consistency
* Fixes unnecessary allocations in D3D12 shader container in
  `_convert_spirv_to_nir` and `_convert_spirv_to_dxil` which implicitly
  converted the old `VectorView` to a `Vector`
2025-09-30 06:40:14 +10:00
Marc Gilleron
0534423c58 Fix unreachable code warning in double-precision builds 2025-09-29 18:36:00 +02:00
Edward Moulsdale
e366471fdc Add GDSOFTCLASS to deeper inheritors of Object 2025-09-24 19:15:56 +01:00
Ricardo Sanchez-Saez
038f5934e7 [Apple embedded] Adopt SwiftUI lifecycle for Apple embedded platforms
- Introduces a SCons builder for Swift files
- Increases the minimum deployment targets to iOS 14.0, and visionOS 26.0.
- Replaces manually UIWindow management by a SwiftUI instantiated app.
2025-09-22 18:20:04 -07:00
Thaddeus Crews
f553875728 Merge pull request #110387 from timothyqiu/project-zip-utf8
Set language encoding flag when using Pack Project as ZIP
2025-09-22 13:28:49 -05:00
Thaddeus Crews
14bdf39806 Merge pull request #107789 from rsanchezsaez/apple/apple-embedded-export-template
Replace iOS/visionOS Xcode templates by new Apple embedded template
2025-09-19 13:07:09 -05:00
Thaddeus Crews
988721cda3 Merge pull request #106146 from gtibo/show-encryption-key
Add "Show Encryption Key" toggle
2025-09-19 09:16:59 -05:00
Thaddeus Crews
490af72c99 Merge pull request #109815 from Muller-Castro/export-script-file
Fix `EditorExportPlugin::_export_file()` ignoring GDScripts
2025-09-16 11:44:52 -05:00
Pāvels Nadtočajevs
906aff5331 Fix iOS/visionOS export plugin crash on exit. 2025-09-13 11:22:40 +03:00
Haoyu Qiu
cadd08da9e Set language encoding flag when using Pack Project as ZIP 2025-09-11 16:44:09 +08:00
Stuart Carnie
b7aac81366 Metal: Ensure baking to binary sets minimum target OS
Co-authored-by: Travis Lange <travislange12@gmail.com>
2025-09-08 08:16:53 +10:00
Muller-Castro
9504b0ff7a Fix EditorExportPlugin::_export_file() ignoring GDScripts 2025-09-03 16:50:28 -03:00
Clay John
0f0bb7d225 Merge pull request #110025 from DarioSamo/fix-shader-debug-info-take-two
Fix --generate-spirv-debug-info regression (alternate take)
2025-09-01 19:37:27 -07:00
Dario
e137c882c0 Disable smolv and change the shader hash when SPIR-V debug info is enabled. 2025-08-28 14:17:58 -03:00
Dario
9086b5c05f Fix editor export plugins always causing resources to be edited.
- Remove the ', true' which always caused the if statement to be true.
- Add a new comparison before setting again the same array or dictionary back to the object. Not all objects are programmed to take into account that the setter could be called with the exact same Array or Dictionary from the class. This check ensures that scenario doesn't happen since it should be unnecessary.
2025-08-28 12:21:30 -03:00
Ricardo Sanchez-Saez
6d9983e958 [apple embedded] Replace individual iOS/visionOS Xcode templates by Apple embedded template 2025-08-25 12:42:34 -07:00
Raul Santos
702bbb3eab Add default param value to EditorExportPlatform::get_forced_export_files
Add default parameter value to a new parameter added in 4.5 to `EditorExportPlatform::get_forced_export_files` so we can avoid breaking compatibility for GDScript.
2025-08-16 04:16:43 +02:00