1
0
Fork 0
Commit Graph

4755 Commits

Author SHA1 Message Date
Thaddeus Crews 8105ff7ac7
Merge pull request #106940 from allenwp/agx-add-white-contrast
Add `white`, `contrast`, and future HDR support to the AgX tonemapper.
2025-12-03 11:42:29 -06:00
Allen Pestaluky 628df323e2 Add `agx_white`, `agx_contrast` and HDR support to the AgX tonemapper.
Also optimize all tonemappers to perform less calculations per-pixel.

Note: unlike `white`, `agx_white` is limited to a minimum of `2.0` and defaults to `16.29`. When using a RGB10A2 render buffer, `agx_white` will be ignored and a value of `2.0` will be used instead to ensure good behavior on the Mobile renderer.
2025-12-03 09:01:39 -05:00
Nolan Darilek 6304e9f876 Accessibility: Fix text field character count and line navigation
Two fixes for text field accessibility:

1. Fix character count being off by one due to trailing newline always
   being appended to the last line. Add `is_last_line` parameter to
   `accessibility_create_sub_text_edit_elements()` to control this.

2. Link adjacent TextRuns via `previous_on_line`/`next_on_line` so
   screen readers can properly navigate lines. Without these links,
   AccessKit treats each TextRun as a separate line, causing incorrect
   announcements when arrowing through multi-line text.
2025-12-03 07:19:05 -05:00
Skyth a8d3ecec13 Refactor descriptor heaps in D3D12 driver. 2025-12-03 11:02:41 +03:00
Dario c78c3ba894 Rewrite Radiance and Reflection probes to use Octahedral maps.
Co-authored-by: clayjohn <claynjohn@gmail.com>
2025-12-02 17:48:12 -08:00
Thaddeus Crews 666bcb2056
Merge pull request #111452 from DarioSamo/re-spirv
Use re-spirv in the Vulkan driver to optimize shaders.
2025-12-02 11:52:10 -06:00
Thaddeus Crews 0289309270
Merge pull request #112191 from blueskythlikesclouds/point-size-emulation-forward-shader
Implement point size emulation in the forward shader for D3D12.
2025-12-02 11:52:08 -06:00
Thaddeus Crews 5b527b23d8
Merge pull request #111800 from Repiteo/scons/d3d12-cleanup
SCons: Clean up hardcoded D3D12 driver workarounds
2025-12-02 11:52:07 -06: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
Thaddeus Crews cd8a292324
Merge pull request #113297 from shiena/feature/lifecycle-callbacks
Add platform lifecycle callbacks to CameraServer base class
2025-12-02 11:51:52 -06:00
Thaddeus Crews b93d82a2b3
SCons: Cleanup hardcoded D3D12 driver workarounds 2025-12-02 10:56:50 -06:00
Pāvels Nadtočajevs 358d799b9a
[iOS] Fix use of `godot_path`. 2025-12-02 16:44:00 +02:00
Dario cf00643565 Use re-spirv in the Vulkan driver to optimize shaders.
Includes contributions by Rémi to unify usage of SPIR-V Headers across the dependencies.

Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
2025-12-02 11:39:11 -03:00
Skyth ba556ebe03 Implement point size emulation in the forward shader for D3D12. 2025-12-02 17:36:31 +03:00
Rémi Verschelde 5f12ada7a4
Merge pull request #113432 from TheDying0fLight/set-shader-path-before-compiling
Set shader path before compilation
2025-12-02 14:17:38 +01:00
Rémi Verschelde 2e4d5c261f
Merge pull request #113277 from blueskythlikesclouds/d3d12-framebuffer-clear-fix
Fix framebuffers getting cleared multiple times on D3D12.
2025-12-02 14:16:50 +01:00
Simon Döhl 772caa8170 set shader path before compilation 2025-12-02 09:04:19 +01:00
Hugo Locurcio 2cf7af9149
Make all unsupported renderer message features consistently warnings
Previously, some messages indicating a lack of support were errors
instead of warnings. Some messages were also not shown when running
a release export template.

- Use "renderer" terminology consistently instead of "rendering method".
2025-12-01 17:38:12 +01:00
KOGA Mitsuhiro 85ec5b9f42 Add platform lifecycle callbacks to CameraServer base class 2025-12-02 00:31:51 +09:00
Rémi Verschelde c1412af255
Merge pull request #113372 from archiethehead/fix-d3d12-startup-warnings
D3D12: Convert non-critical startup warnings to verbose prints
2025-12-01 11:50:16 +01:00
Archie Healy 31b18a2d6c
D3D12: Convert non-critical startup warnings to verbose prints 2025-12-01 11:18:09 +01:00
Skyth 3e997f5edb Fix framebuffers getting cleared multiple times on D3D12. 2025-11-28 15:59:14 +03:00
xuhuisheng 047e0e0606 Fix gles3 buffer_free_data error 2025-11-28 16:16:31 +08:00
Rémi Verschelde 1cb4ada316
Merge pull request #112994 from dsnopek/openxr-meta-foveation-eye-tracked-on-meta
OpenXR: Fix Vulkan validation errors and get `XR_META_foveation_eye_tracked` working on Meta Quest devices
2025-11-27 09:55:45 +01:00
David Snopek fce47ac456 OpenXR: Fix Vulkan validation errors and get `XR_META_foveation_eye_tracked` working on Meta Quest devices 2025-11-26 05:02:22 -06:00
Skyth 56db3aed47 Refactor rendering driver copy APIs to fix D3D12 issues.
Co-authored-by: Stuart Carnie <stuart.carnie@gmail.com>
2025-11-26 12:00:02 +03:00
Thaddeus Crews 158f13aebf
Merge pull request #102232 from bruvzg/xattr
[FileAccess] Implement support for reading and writing extended file attributes/alternate data streams.
2025-11-25 09:52:37 -06:00
Thaddeus Crews 0da802cdd7
Merge pull request #111114 from bruvzg/sigpipe_ign
Suppress SIGPIPE when writing to a pipe.
2025-11-25 09:52:27 -06:00
Dario d17ea061bc Move D3D12's automatic texture clears to RenderingDevice. 2025-11-25 09:34:38 -03:00
Skyth ec7de6b82b Fix all D3D12 object memory leaks. 2025-11-24 16:45:47 +03:00
Pāvels Nadtočajevs d454e1a1e0
[FileAccess] Implement support for reading and writing extended file attributes/alternate data streams. 2025-11-24 11:18:25 +02:00
Thaddeus Crews dca2986321
Merge pull request #112844 from bruvzg/cwd_error
Add error message when trying to load project from CWD.
2025-11-21 18:37:29 -06:00
Thaddeus Crews ccf414ecb4
Merge pull request #112989 from blueskythlikesclouds/typed-uav-load-additional-check
Check for Typed UAV Load Additional Formats capability when creating D3D12 device.
2025-11-21 14:46:53 -06:00
Thaddeus Crews 8480b62202
Merge pull request #113000 from brycehutchings/d3d12_descriptor_heap_pool_corruption_fix
Fix corruption of D3D12 CPU descriptor heap free blocks
2025-11-21 14:46:47 -06:00
Bryce Hutchings 17703ab0fb Fix corruption of cpu descriptor heap free blocks 2025-11-20 15:51:12 -08:00
Pāvels Nadtočajevs a7358ddd12
Add error message when trying to load project from CWD. 2025-11-20 23:19:09 +02:00
Thaddeus Crews 8c505d98e4
Merge pull request #112914 from blueskythlikesclouds/d3d12-buffer-create-fix
Fix buffer creation on old D3D12 runtimes.
2025-11-20 11:10:53 -06:00
Thaddeus Crews 2edc43df8e
Merge pull request #78598 from BastiaanOlij/resolve_depth_buffer_mobile
Resolve depth buffer in mobile renderer when required
2025-11-20 11:10:48 -06:00
Skyth 2331470128 Check for Typed UAV Load Additional Formats capability when creating D3D12 device. 2025-11-20 19:26:00 +03: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 d30ec9aef0
Merge pull request #112888 from dhoverb/meta_foveation_eye_tracked
Implement XR_META_foveation_eye_tracked
2025-11-18 14:00:47 -06:00
Thaddeus Crews 8cb0cc8a1f
Merge pull request #110943 from GlitchedCode922/fix_backup_permissions
Fix permission handling for write backup files (`FileAccessUnix`)
2025-11-18 14:00:41 -06:00
dhoverb 53e1ea184a Implement XR_META_foveation_eye_tracked 2025-11-18 14:58:11 +00: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
Skyth 92d3fc302a Fix buffer creation on old D3D12 runtimes. 2025-11-18 15:33:30 +03:00
Bastiaan Olij 21ffbecfa9 Resolve depth buffer in pass if supported by driver 2025-11-17 17:29:38 +11: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
Thaddeus Crews 235d11245c
Merge pull request #112481 from stuartcarnie/2d_canvas_vbos
Massively optimize canvas 2D rendering by using vertex buffers
2025-11-14 14:23:02 -06:00
Stuart Carnie 90c0e6acca 2D: Switch to VBOs for instance data
- Add support for vertex bindings and UMA vertex buffers in D3D12.
- Simplify 2D instance params and move more into per-batch data to save
  bandwidth

Co-authored-by: Skyth <19259897+blueskythlikesclouds@users.noreply.github.com>
Co-authored-by: Clay John <claynjohn@gmail.com>
Co-authored-by: A Thousand Ships <96648715+athousandships@users.noreply.github.com>
2025-11-15 06:25:49 +11:00