Commit Graph

574 Commits

Author SHA1 Message Date
ArchercatNEO 3f29efc8a2 HDR: Implement surface supports HDR output.
Previously the Wayland display server would attempt to enable
HDR output and try to detect if it failed afterwards which had some issues.
Now we can query the rendering driver for support and avoid ever enabling
HDR output when this would fail.
2026-05-06 19:51:54 +01:00
Thaddeus Crews ad6ead96a2 Merge pull request #118893 from realybin/fix/imm-windows
[Windows] Fix IME candidate window misalignment by setting composition font
2026-04-27 12:05:38 -05:00
Thaddeus Crews 7a8adcf4d8 Merge pull request #117913 from allenwp/hdr-output-allow-request
Fix behavior of `window_is_hdr_output_supported` for Wayland and adjust warnings.
2026-04-24 15:43:32 -05:00
realybin 8cf3b63ac2 [Windows] Fix IME candidate window misalignment by setting composition font 2026-04-24 02:26:06 +08:00
realybin 579b5a92ce [Windows] Fix inconsistent update logic between IME composition and the candidate window 2026-04-22 16:41:53 +08:00
Allen Pestaluky 4309120a4a Fix DisplayServerWayland::window_is_hdr_output_supported to check rendering device for HDR output support and adjust warnings/errors. 2026-04-20 11:11:01 -04:00
Pāvels Nadtočajevs 958510c3e9 Add a bunch of missing window existence checks to HDR methods 2026-04-17 15:53:13 +03:00
Pāvels Nadtočajevs 778e0a7879 [Windows] Add support for AdvancedColorInfo info and change callback.
Co-authored-by: Allen Pestaluky <allenpestaluky@gmail.com>
2026-04-15 09:02:33 +03:00
Thaddeus Crews 01fa8cc2d2 Merge pull request #116351 from bruvzg/onecore_emopick
[Windows] Use OneCore/WinRT emoji picker when available.
2026-04-07 18:21:48 -05:00
Thaddeus Crews 82e3e44bb2 Merge pull request #117837 from allenwp/hdr-remove-sdr-white-level-polling
[Windows] Remove polling of SDR white level when HDR output is enabled.
2026-04-07 18:21:46 -05:00
Allen Pestaluky abfd33b413 [Windows] Remove polling of SDR white level when HDR output is enabled. 2026-04-07 10:15:03 -04:00
Pāvels Nadtočajevs 0a0ff94d15 [Windows] Use OneCore/WinRT emoji picker when available. 2026-04-07 15:26:58 +03:00
Thaddeus Crews a70b7ad1e6 Merge pull request #115666 from DarkKilauea/rendering/hdr-output-changed
[Windows] HDR Output: Emit window events when HDR state changes
2026-04-03 11:52:20 -05:00
Thaddeus Crews 0f51ed6099 Merge pull request #113543 from bruvzg/win_icons
[DisplayServer] Add per window icon support.
2026-03-30 13:35:47 -05:00
Pāvels Nadtočajevs e2bc0f565c [Windows] Fix Windows version detection. 2026-03-28 00:19:18 +02:00
Rémi Verschelde e030230a99 Merge pull request #117445 from bruvzg/angle_no_dyn
[macOS/Windows] Remove dynamically linked ANGLE support, add flag to enable/disable ANGLE.
2026-03-26 16:01:25 +01:00
Pāvels Nadtočajevs 5fc9f6b3d9 [macOS/Windows] Remove dynamically linked ANGLE support, add flag to enable/disable ANGLE.
Co-authored-by: Hugo Locurcio <hugo.locurcio@hugo.pro>
2026-03-23 13:01:25 +02:00
Pāvels Nadtočajevs d47b8d7a64 [DisplayServer] Add per window icon support. 2026-03-23 11:27:09 +02:00
Pāvels Nadtočajevs 022195257b [Windows] Fix invalid transient window getting stuck in infinite loop.
Do not add always-on-top windows to transient list on creation.
Unconditionally clean transient children list when window is closed.
2026-03-23 10:25:00 +02:00
Josh Jones 3512a169b2 Emit events when HDR output state changes externally 2026-03-21 14:42:56 -07:00
Rémi Verschelde e33e98a26f Style: Apply clang-format grouping rules 2026-03-17 20:11:01 +01:00
Rémi Verschelde 7795057e4b Misc includes or modernize fixes found via clangd-tidy 2026-03-16 21:38:26 +01:00
Rémi Verschelde d9b81615e5 Remove unused includes in platform with clangd-tidy
Handled Linux, Windows, Android, and (partially) Web.
2026-03-14 22:37:05 +01:00
Pāvels Nadtočajevs b092ce32f3 Only attempt to load ANGLE DLLs from executable folder. 2026-03-09 16:51:58 +02:00
Rémi Verschelde eabb9a63d4 Rename callable_method_pointer.h to callable_mp.h and include it explicitly
This allows removing it from `class_db.h`, significantly reducing the amount of files
that include it transitively.

Also includes some include cleanup in `control.h` and `rich_text_label.h` done while
ensure they don't depend on `callable_mp`.
2026-03-04 16:23:23 +01:00
Rémi Verschelde 727b06a79f Move ProcessID typedef out of OS
This allows decoupling a number of files from `os.h`.
2026-03-04 15:00:45 +01:00
Rémi Verschelde 765362b033 Explicitly include core/config/engine.h where used 2026-03-04 10:17:10 +01:00
Rémi Verschelde a447ac95ec Move DisplayServer enums and typedefs to DisplayServerEnums
This will allow decoupling `display_server.h` from a number of headers in the
codebase which only require those enums and not all the DisplayServer API.
2026-03-03 12:44:02 +01:00
Pāvels Nadtočajevs 1306221592 Move accessibility methods/enums from DisplayServer to the AccessibilityServer dedicated singleton. 2026-03-02 13:48:29 +02:00
StarryWorm 357fa00a4a rm class_db.h from resource.h 2026-02-27 19:08:29 -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
Thaddeus Crews 2f06af10e6 Merge pull request #106560 from SheepYhangCN/taskbar-progress-state
Add taskbar progress and state support for Windows & macOS
2026-02-16 10:19:21 -06:00
Josh Jones b8389cc76b Support output to HDR monitors
Co-authored-by: Alvin Wong <alvinhochun@gmail.com>
Co-authored-by: Allen Pestaluky <allenpestaluky@gmail.com>
2026-02-11 22:13:26 -07:00
SheepYhangCN 851faa08d8 Add taskbar progress and state support for Windows & macOS
Co-Authored-By: bruvzg <7645683+bruvzg@users.noreply.github.com>
Co-Authored-By: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com>
2026-02-09 19:48:53 +08:00
Nintorch eb019511ed Optimize files that #include input.h header 2026-01-28 14:21:00 +05:00
Thaddeus Crews ed0ae97d98 Merge pull request #114922 from DarioSamo/android-platform-gl3-fallback-fix
Fix fallback to OpenGL3 from Vulkan initialization on Android.
2026-01-27 09:04:14 -06:00
Pāvels Nadtočajevs b0320ef4ff [Windows] Use executable icon as default for the window. 2026-01-23 10:41:23 +02:00
Dario 542f8ddf22 Fix fallback to OpenGL3 from Vulkan initialization on Android. 2026-01-14 23:55:21 -03:00
Pāvels Nadtočajevs a45074e692 [Windows] Fix icon leak. 2026-01-02 19:37:03 +02:00
bruvzg 9ebe07e280 [Windows] Expand full screen border in the direction with no adjacent display, or display with min refresh rate difference. 2025-12-18 08:59:28 +02:00
Rémi Verschelde a5452ce8c5 sdl: Update to 3.2.28 2025-12-13 00:04:56 +01:00
Thaddeus Crews 7d517902e3 Merge pull request #113744 from blueskythlikesclouds/d3d12-editor-fullscreen-fix
Fix D3D12 looking blurry in the editor at fullscreen.
2025-12-08 11:54:04 -06:00
Skyth ab0a7f2da2 Fix D3D12 looking blurry in the editor at fullscreen. 2025-12-08 14:15:15 +03:00
Skyth 7205e21915 Fix Vulkan failing to initialize when compiling without D3D12. 2025-12-08 11:11:15 +03:00
Hilderin f3233372f1 Fix pressed keys resetted when hiding a window on Windows 2025-11-18 10:23:56 -06:00
Thaddeus Crews e46c2ea3fa Merge pull request #112379 from bruvzg/tts64id
Make `utterance_id` 64-bit.
2025-11-14 14:23:17 -06:00
Skyth 69401d6eb1 Fix crash when using ANGLE OpenGL on Windows. 2025-11-13 12:24:11 +03:00
Jono Kemball 3497a5dbf5 Windows: Fix window_get_size_with_decorations returning an invalid size when minimizing by storing previous value 2025-11-11 09:22:29 +13:00
Pāvels Nadtočajevs 281c74550a Make utterance_id 64-bit. 2025-11-07 10:21:20 +02:00
Skyth 613c9fb86f Improve rendering driver fallback on Windows. 2025-11-05 17:49:43 +03:00