Commit Graph

38 Commits

Author SHA1 Message Date
Rémi Verschelde f1ce0e6510 Merge pull request #106814 from stuartcarnie/rendering/hdr-output
Apple: Support output to EDR (HDR) displays
2026-03-02 12:35:22 +01:00
Thaddeus Crews e380a41752 Style: Add class_db.h includes explicitly 2026-02-26 15:50:28 -06:00
Stuart Carnie d5504ffc69 feat: Add EDR support to Metal and all Apple platforms 2026-02-27 05:23:56 +11:00
Rémi Verschelde db77a462b4 Merge pull request #116395 from bruvzg/ios_sc
[iOS] Add UIScene lifecycle events.
2026-02-20 11:16:44 +01:00
Nintorch 73fcc0d645 Add SDL joystick input for iOS 2026-02-18 20:37:22 +05:00
Rémi Verschelde ad4b910a10 Minimize include dependencies of display_server.h
- Removes `native_menu.h` dependency from `display_server.h`.
  It's now forward-declared in all DisplayServer implementations and should
  be included in the .cpp's.
- Removes some unused `rb_set.h` and `rb_map.h` dependencies, which leads to
  having to include them explicitly in half the scene and editor codebase...
  which shows how much we depend on `display_server.h`.
- Forward-declare `input_event.h`, so now we need only `keyboard.h`.
2026-02-17 19:45:31 +01:00
Pāvels Nadtočajevs b03f0a9e24 [iOS] Add UIScene lifecycle events. 2026-02-17 09:46:04 +02:00
Stuart Carnie b815c88dec Metal: Refactor for future Metal 4, switch to C++; fix dynamic uniforms 2026-02-06 07:07:10 +11:00
Lukas Tenbrink c5df0cb82b Don't right-align escaped newlines, e.g. for #define. This has previously led to long diffs in the commit history. 2026-02-04 19:31:28 +01:00
Thaddeus Crews ea1e6640f0 Merge pull request #115434 from syntaxerror247/landscape-or-portrait
Add device orientation change signal to DisplayServer
2026-01-27 15:18:22 -06:00
Anish Kumar e2369a834b Add device orientation change signal in DisplayServer
This PR:
- Fixes the orientation detection logic on Android
- Adds an orientation_changed signal in DisplayServer

Co-Authored-By: bruvzg <7645683+bruvzg@users.noreply.github.com>
2026-01-27 23:35:44 +05:30
Dario 542f8ddf22 Fix fallback to OpenGL3 from Vulkan initialization on Android. 2026-01-14 23:55:21 -03:00
Ricardo Sanchez-Saez 4bf4d10f5e Avoid warning when compiling on visionOS 26 SDK 2026-01-12 15:03:21 -08:00
Pāvels Nadtočajevs bb22b0eece [iOS] Update device SOC list and DPI list. 2025-12-18 16:30:14 +02:00
Rémi Verschelde 047a7c5aa5 Merge pull request #110192 from bruvzg/ios_soc_list
[iOS] Add device SOC list, update DPI list.
2025-12-18 14:23:02 +01:00
Thaddeus Crews ec3f304ccc Merge pull request #113455 from bruvzg/ios_p
[iOS] Fix use of `godot_path`.
2025-12-02 11:52:01 -06:00
Pāvels Nadtočajevs 358d799b9a [iOS] Fix use of godot_path. 2025-12-02 16:44:00 +02:00
KOGA Mitsuhiro 85ec5b9f42 Add platform lifecycle callbacks to CameraServer base class 2025-12-02 00:31:51 +09:00
Hugo Locurcio 6de36fe6b2 Silence warnings about DisplayServer icons on iOS and visionOS
Setting window icons is not supported on iOS or visionOS,
but there is no concept of window icons on those platforms anyway.
2025-11-18 23:33:13 +01:00
Thaddeus Crews eafc21fb05 Merge pull request #112784 from migueldeicaza/fix_dynamic_xcframework_loading
iOS: Fix loading of xcframework dynamic libraries.
2025-11-18 08:25:45 -06:00
Miguel de Icaza b1465d6af0 iOS: Fix loading of xcframework dynamic libraries.
The logic used to determine whether to invoke the in-memory registration or to
delegate the loading of a library is incorrect for xcframework packages - as
these can contain either static or dynamic libraries.

This change instead lets the operating system handle the library request, and if
it fails, it attempts to load from the internal registry.

With this change, xcframeworks containing dynamic libraries work without
workarounds on iOS.

With an additional fallback case courtesy of @bruvzg

This fixes https://github.com/godotengine/godot/issues/112783
2025-11-14 16:31:09 -05:00
Thaddeus Crews e46c2ea3fa Merge pull request #112379 from bruvzg/tts64id
Make `utterance_id` 64-bit.
2025-11-14 14:23:17 -06:00
Lukas Tenbrink c3747884da Add some important profiling hooks. 2025-11-08 00:08:48 +01:00
Pāvels Nadtočajevs 281c74550a Make utterance_id 64-bit. 2025-11-07 10:21:20 +02:00
Thaddeus Crews 5935a32e32 Core: Cleanup headers in core/config
- `MainLoop` now forward-declared in `OS`
2025-10-06 09:20:56 -05: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
Aaron Franke 3d1c9fd5de Move server files into their subfolders 2025-09-30 19:39:39 -07: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
Pāvels Nadtočajevs c96d142f97 [iOS] Add device SOC list, update DPI list. 2025-09-02 13:33:27 +03:00
Talkashie bc7e68dfd1 Typos 2025-08-19 18:32:59 -05:00
Travis Lange d4b7222ca0 fixed screen_orientation not being assigned on ios 2025-08-09 20:46:17 -04:00
Patrick Exner 5a7b6b7159 Add permission request for Apple embedded platforms, fix microphone input
Co-Authored-By: Miguel de Icaza <miguel@gnome.org>

Supersedes https://github.com/godotengine/godot/pull/107233
Fixes https://github.com/godotengine/godot-proposals/issues/12563
Fixes https://github.com/godotengine/godot/issues/33885

Superseding Miguel's PR to get it in during the beta stage.
2025-06-25 15:29:33 +02:00
Stuart Carnie 939f29f6d5 Apple: Improve reliability of Apple Embedded build and deployment 2025-06-19 06:33:08 +10:00
Danil Alexeev 24494d840e Core: Unify display of error type prefixes 2025-06-09 20:18:51 +03:00
Youngmin Koo fd4d5cc77f iOS: Prevent startup crash with Input singleton null check 2025-06-05 00:34:04 +09:00
Pāvels Nadtočajevs 2d93e004b9 Cleanup and unify DisplayServer screen methods and documentation. 2025-06-02 08:03:48 +03:00
Ricardo Sanchez-Saez 47971c0a27 Introduce 'visionos' platform derived from 'apple_embedded' 2025-05-19 15:47:01 -07:00
Ricardo Sanchez-Saez 457299449d Introduce 'drivers/apple_embedded' abstract platform for code reuse 2025-05-19 15:37:13 -07:00