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

4684 Commits

Author SHA1 Message Date
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
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
Thaddeus Crews
12aa435bbb Merge pull request #107740 from Kaleb-Reid/compat-directional-shadow-scatter
Apply sun scatter from lights with shadows in compatibility
2025-10-06 09:06:44 -05:00
Thaddeus Crews
686b56fae9 Merge pull request #106434 from Ivorforce/invert-hashfuncs
Reduce cross project includes by rewriting `HashMapHasherDefault`.
2025-10-06 09:06:37 -05:00
Thaddeus Crews
d364dacac1 Merge pull request #110004 from Kaleb-Reid/divide-luminance
Divide screen texture by luminance multiplier in compatibility
2025-10-06 09:06:33 -05:00
Thaddeus Crews
30a0a41982 Merge pull request #111274 from chocola-mint/include-optimization-logger
Remove `file_access.h` and `script_backtrace.h` includes from `logger.h`.
2025-10-06 09:06:32 -05:00
Thaddeus Crews
43a9999852 Merge pull request #111260 from devloglogan/compat-motion-vec-fix
Add null check when getting motion vector fbo
2025-10-06 09:06:30 -05:00
Thaddeus Crews
660bf91360 Merge pull request #111240 from Kaleb-Reid/compat-fix-backbuffer
Always use RenderSceneBuffers to manage backbuffer in Compatibility 3D
2025-10-06 09:06:23 -05:00
Skyth
b568b06970 Fix D3D12 not checking for fullscreen clear region correctly. 2025-10-06 16:56:05 +03:00
Rémi Verschelde
1043c3fd64 Merge pull request #111300 from stuartcarnie/net_unix_error_spam
Unix: Don't print an error if `bind` fails
2025-10-06 14:08:16 +02:00
Rémi Verschelde
6f0f5a9bd0 Merge pull request #111058 from timothyqiu/wnohang
Unix: Fix retrieval of PID exit code
2025-10-06 14:08:03 +02:00
Stuart Carnie
47d757d3dc Unix: Don't print an error if bind fails 2025-10-06 06:12:13 +11:00
chocola-mint
ead282ff13 Remove file_access.h and script_backtrace.h includes from logger.h. 2025-10-05 17:49:23 +09:00
Lukas Tenbrink
ad600125df Rewrite HashMapHasherDefault based on type traits - it is now possible to declare a default hashing function for any type.
Remove cross-project includes from `hashfuncs.h`.
Improve hashing function for `Color` (based on values instead of `String`).
Move `Variant` comparison from `hash_map.h` to `dictionary.cpp` (`VariantComparatorDictionary`), where it's used.
Remove now unnecessary `HashableHasher`.
2025-10-05 01:49:11 +02:00
Kaleb Reid
79b1a6defc Implement DirectionalLight3D cull masks in Compatibility 2025-10-04 16:08:27 -07:00
Lukas Tenbrink
1db0a60dc0 Replace std::size usage with std_size to avoid <iterator> include. 2025-10-05 00:26:11 +02:00
Kaleb Reid
a88c54a5c7 Clear intermediate buffers when not in use in Compatibility 2025-10-04 13:51:23 -07:00
devloglogan
39c449fc60 Add null check when getting motion vector fbo 2025-10-04 13:18:59 -05:00
Kaleb Reid
91167c3c23 Use correct AABB for SpotLight3Ds when spot_angle > 90 2025-10-04 02:12:51 -07:00
Kaleb Reid
e1f19d14dd Always use RenderSceneBuffers to manage backbuffer in Compatibility 3D 2025-10-04 01:06:09 -07:00
Kaleb Reid
c20ab940aa Apply sun scatter from lights with shadows in compatibility 2025-10-04 00:35:31 -07:00
Kaleb Reid
8ad335eae0 Divide screen texture by luminance multiplier in compatibility 2025-10-04 00:19:42 -07:00
Kaleb Reid
d616da4498 Fix warning spam in Compatibility when using depth texture 2025-10-03 16:13:54 -07:00
Thaddeus Crews
d9ba9ba3da Merge pull request #97151 from devloglogan/motion-vectors
Implement motion vectors in compatibility renderer
2025-10-03 12:01:10 -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
Thaddeus Crews
1566eec9cf Merge pull request #111191 from Nintorch/fix-joy-vibration
Fix weak and strong joypad vibration being swapped
2025-10-03 12:01:04 -05:00
Thaddeus Crews
38af23a654 Merge pull request #89409 from aaronfranke/server-folders
Move server files into their subfolders
2025-10-03 12:01:00 -05:00
Nintorch
4a3bf069a6 Fix invalid reported joypad presses 2025-10-03 11:35:09 +05:00
Nintorch
e5ecc392c9 Fix weak and strong joy vibration being swapped 2025-10-03 11:08:39 +05:00
Thaddeus Crews
51ba8c1c12 Merge pull request #111146 from Kaleb-Reid/fix-sdl-no-dbus
Fix compiling SDL without DBus under Linux
2025-10-02 15:11:54 -05:00
Kaleb Reid
03eb42642c Fix compiling SDL without DBus under Linux 2025-10-02 00:56:32 -07: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
Aaron Franke
3d1c9fd5de Move server files into their subfolders 2025-09-30 19:39:39 -07:00
Thaddeus Crews
6b22951162 Merge pull request #107954 from stuartcarnie/unix_domain_socket_support
Add Core UNIX domain socket support
2025-09-30 18:35:08 -05:00
Thaddeus Crews
4c3765d9ff Merge pull request #108826 from BlueCube3310/bc1-rgb
Compatibility: Explicitly use BC1's RGB variant
2025-09-30 18:35:04 -05:00
Thaddeus Crews
c28b6c2ced Merge pull request #109186 from clayjohn/reflection-probe-size-update
Prompt editor restart when reflection probe size is updated
2025-09-30 18:34:57 -05:00
BlueCube3310
d07a72e067 Compatibility: Explicitly use BC1's RGB variant 2025-09-30 20:17:22 +02:00
Thaddeus Crews
4a1c1c483b Merge pull request #110873 from stuartcarnie/fix_metal_baker
Metal: Fix Metal compiler version inspection
2025-09-30 11:19:21 -05:00
Thaddeus Crews
31b25d5971 Merge pull request #111032 from Joonnas/bugfix-stencil-issue-d3d12
Fix d3d12 stencil buffer not clearing
2025-09-30 11:19:20 -05:00
Thaddeus Crews
21fd4faf1b Merge pull request #107469 from Ivorforce/vector-localvector-explicit-span-conversions
Remove implicit conversions between `LocalVector` and `Vector`
2025-09-30 11:19:17 -05:00
devloglogan
8fef9a689e Implement motion vectors in compatibility renderer 2025-09-30 09:42:17 -05:00
Haoyu Qiu
d5738b5cdd Unix: Fix retrieval of PID exit code 2025-09-30 12:29:49 +08:00
clayjohn
aa8bc0b56d Prompt editor restart when reflection probe size is updated
Also formally deprecate the RS function for updating an individual probes size. The functionality was removed in 4.0, but the function itself was mistakenly left exposed.
2025-09-29 18:35:34 -07: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
Jonas Seidl
d1246b099e Fix d3d12 stencil buffer not clearing 2025-09-29 13:16:29 +02:00
Stuart Carnie
7227fdd805 Core: Add UNIX domain socket support
> [!NOTE]
>
> Later versions of Windows has support for `AF_UNIX`, so it could be
> added.
2025-09-26 05:46:19 +10:00
Thaddeus Crews
c32c2606f4 Merge pull request #110837 from wheatear-dev/add-gdsoftclass-deeper
Add `GDSOFTCLASS` to deeper inheritors of `Object`
2025-09-25 12:13:56 -05:00
A Thousand Ships
bd65cfa876 Revert "Replace many uses of is_class with derives_from."
This reverts commit 78b743cf4a.
2025-09-25 13:48:53 +02:00
Stuart Carnie
d93fe9038d Metal: Fix Metal compiler version inspection 2025-09-25 06:35:31 +10:00
Edward Moulsdale
e366471fdc Add GDSOFTCLASS to deeper inheritors of Object 2025-09-24 19:15:56 +01:00